Forward‐secure ChaCha20

Synopsis

Declared in <crypto/chacha20.h>

class FSChaCha20;

Description

This implements a stream cipher that automatically transitions to a new stream with a new key and new nonce after a predefined number of encryptions or decryptions.

See BIP324 for details.

Member Functions

Name

Description

FSChaCha20 [constructor]

Constructors

operator=

Assignment operators

Crypt

Encrypt or decrypt a chunk.

Static Data Members

Name

Description

KEYLEN

Length of keys expected by the constructor.

Created with MrDocs