View Source Age
A small Elixir implementation of the age encryption format. This currently supports version 1 of the format, and only implements X25519 identities.
usage
Usage
# Generate a new identity
{recipient, identity} = Age.generate_identity()
# Encrypt a message
encrypted = Age.encrypt("Hello world\n", [recipient])
# Decrypt a message
{:ok, decrypted} = Age.decrypt(encrypted, identity)
installation
Installation
Requires basic build tools, e.g. build-essential
on Ubuntu.
def deps do
[
{:age, "~> 0.1.0"}
]
end