Module symmetric

Source

Structs§

BackreferenceKey
Represents a symmetric ChaCha20Poly1305 key used for Spend backreferences.
OutgoingCipherKey
Represents a symmetric ChaCha20Poly1305 key.
OvkWrappedKey
Represents encrypted key material used to reconstruct a PayloadKey.
PayloadKey
Represents a symmetric ChaCha20Poly1305 key.
PositionMetadataKey
Represents a symmetric XChaCha20Poly1305 key used for Position metadata encryption.
WrappedMemoKey
Represents encrypted key material used to decrypt a MemoCiphertext.

Enums§

PayloadKind
Represents the item to be encrypted/decrypted with the PayloadKey.

Constants§

ENCRYPTED_POSITION_METADATA_SIZE_BYTES
MEMOKEY_WRAPPED_LEN_BYTES
OVK_WRAPPED_LEN_BYTES
PAYLOAD_KEY_LEN_BYTES
POSITION_METADATA_AUTH_TAG_SIZE_BYTES
POSITION_METADATA_NONCE_SIZE_BYTES
POSITION_METADATA_SIZE_BYTES