Module fcp_cryptoauth::keys [] [src]

Modules

crypto_box

crypto_box_curve25519xsalsa20poly1305 , a particular combination of Curve25519, Salsa20, and Poly1305 specified in Cryptography in NaCl.

Constants

PUBLIC_KEY_BYTES
SECRET_KEY_BYTES

Traits

FromBase32

Used to decode a CryptoAuth public key.

FromHex

Used to decode a CryptoAuth secret key.

ToBase32

Used to encode a CryptoAuth public key.

ToHex

Used to encode a CryptoAuth secret key.

Functions

decode_base32
encode_base32
publickey_to_ipv6addr

Converts a public key to an Ipv6Addr, according to the first paragraph of https://github.com/cjdelisle/cjdns/blob/cjdns-v19.1/doc/Whitepaper.md#pulling-it-all-together