Skip to main content

Crate hide_format

Crate hide_format 

Source

Structs§

Metadata
Preamble
ProtectedHeader
RecipientStanza
SignatureStanza
A public signature over the container, readable by anyone holding the file. Confidential signatures live inside the encrypted metadata instead.

Enums§

FormatError

Constants§

CHUNK_LEN
MAGIC
MAX_HEADER_LEN
MAX_METADATA_LEN
MAX_RECIPIENTS
MAX_SIGNATURES
Exactly one signer is verified, so exactly one stanza is admitted. Allowing more would let a recipient append stanzas nobody checks.
PREAMBLE_LEN
SIGNATURE_LEN
SUITE
TAG_LEN
VERIFYING_KEY_LEN

Functions§

decode_header
encode_header