Crate hcl

Source
Expand description

Implementation of hcl.

Structs§

Hcl
This struct exists to force intialization before use.
Ratchet
See Double Ratchet Algorithm for details

Constants§

B64_VARIANT_NORMAL
KEYBYTES
Symmetric Key Size in bytes.
MACBYTES
Amount of MACBytes in a symmetrically encrypted message.
NONCEBYTES
Nonce size in bytes.
PUBLICKEYBYTES
Size of a public key in bytes. If you want to sign a message, use the SIGN_ equivalent.
SECRETKEYBYTES
Size of a private key in bytes. If you want to sign a message, use the SIGN_ equivalent.
SIGNBYTES
Length of a signature in bytes.
SIGN_PUBLICKEYBYTES
Size of a public key that is used for signing in bytes.
SIGN_SECRETKEYBYTES
Size of a private key that is used for signing in bytes.

Type Aliases§

Key
A symmetric key.
Nonce
A nonce.
PublicKey
A public key. DO NOT use for signing.
SecretKey
A private key. DO NOT use for signing.
SignPublicKey
A public key that can be used for signing.
SignSecretKey
A private key that can be used for signing.