Crypto++  8.0
Free C++ class library of cryptographic schemes
Classes
chacha.h File Reference

Classes for ChaCha8, ChaCha12 and ChaCha20 stream ciphers. More...

Go to the source code of this file.

Classes

struct  ChaCha_Info
 ChaCha stream cipher information. More...
 
class  ChaCha_Policy
 ChaCha stream cipher implementation. More...
 
struct  ChaCha
 ChaCha stream cipher. More...
 

Detailed Description

Classes for ChaCha8, ChaCha12 and ChaCha20 stream ciphers.

Crypto++ provides Bernstein and ECRYPT's ChaCha from ChaCha, a variant of Salsa20 (2008.01.28). Bernstein's implementation is _slightly_ different from the TLS working group's implementation for cipher suites TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256, TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256, and TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256.

Since
Crypto++ 5.6.4

Definition in file chacha.h.