A collection of modules that are very close to cryptography but aren't - hence the typo.
We initially were using the excellent ExCrypto
.
For all intent and purposes, that's what you should be using. However, we quickly realized
that ExCrypto
is:
- Performing superfluous operations (Base64 encoding, computing key fingerprints, etc).
- Offering outdated options (AES
:notsup
key lengths). - Not offering some of the functions we needed (Mnemonics etc).
This is why we decided to roll our own. We also are aiming for an evergreen coverage and typespec.
If available in Hex, the package can be installed
by adding kryptonite
to your list of dependencies in mix.exs
:
def deps do
[
{:kryptonite, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/kryptonite.