Crypto++  6.1
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< R >
 ChaCha stream cipher information. More...
 
class  ChaCha_Policy< R >
 ChaCha stream cipher implementation. More...
 
struct  ChaCha8
 ChaCha8 stream cipher. More...
 
struct  ChaCha12
 ChaCha12 stream cipher. More...
 
struct  ChaCha20
 ChaCha20 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.