Skip to main content

Module encryption

Module encryption 

Source
Expand description

Chunk encryption using Keccak-256 counter-mode cipher.

Structs§

EncryptedChunkRef
An encrypted chunk reference: 32-byte address + 32-byte decryption key.
EncryptionKey
32-byte encryption key for chunk encryption.

Enums§

EncryptionError
Errors from encryption operations.

Traits§

ChunkEncrypt
Trait for encrypting chunks with a Keccak-256 counter-mode cipher.

Functions§

transcrypt
XOR input with the Keccak-256 CTR keystream, writing to output.
transcrypt_in_place
XOR data with the Keccak-256 CTR keystream in place.