Structs§
- Token
- Token
Decrypt Stream - An incremental
Token::decrypt_chunks: the token’s bytes are fed in order withTokenDecryptStream::update, andTokenDecryptStream::finishchecks the tag and returns the plaintext. The last 32 bytes seen are held back as the candidate tag; everything before them is authenticated and decrypted as it arrives. Decrypted bytes are not authentic untilfinishaccepts the tag.