Security Scol plugin
Public Types | List of all members
Salsa20 Struct Reference

Salsa20 stream cipher. More...

#include <salsa.h>

Inheritance diagram for Salsa20:
Salsa20_Info SymmetricCipherDocumentation VariableKeyLength< 32, 16, 32, 16, SimpleKeyingInterface::UNIQUE_IV, 8 >

Public Types

typedef SymmetricCipherFinal< ConcretePolicyHolder< Salsa20_Policy, AdditiveCipherTemplate<> >, Salsa20_InfoEncryption
 
typedef Encryption Decryption
 
- Public Types inherited from SymmetricCipherDocumentation
typedef SymmetricCipher Encryption
 implements the SymmetricCipher interface
 
typedef SymmetricCipher Decryption
 implements the SymmetricCipher interface
 

Additional Inherited Members

- Public Member Functions inherited from VariableKeyLength< 32, 16, 32, 16, SimpleKeyingInterface::UNIQUE_IV, 8 >
 CRYPTOPP_CONSTANT (MIN_KEYLENGTH=N)
 The minimum key length used by the algorithm provided as a constant.
 
 CRYPTOPP_CONSTANT (MAX_KEYLENGTH=M)
 The maximum key length used by the algorithm provided as a constant.
 
 CRYPTOPP_CONSTANT (DEFAULT_KEYLENGTH=D)
 The default key length used by the algorithm provided as a constant.
 
 CRYPTOPP_CONSTANT (KEYLENGTH_MULTIPLE=Q)
 The key length multiple used by the algorithm provided as a constant.
 
 CRYPTOPP_CONSTANT (IV_REQUIREMENT=IV_REQ)
 The default IV requirements for the algorithm provided as a constant.
 
 CRYPTOPP_CONSTANT (IV_LENGTH=IV_L)
 The default initialization vector length for the algorithm provided as a constant.
 
CRYPTOPP_STATIC_CONSTEXPR size_t CRYPTOPP_API StaticGetValidKeyLength (size_t keylength)
 Provides a valid key length for the algorithm provided by a static function.
 
- Static Public Member Functions inherited from Salsa20_Info
static std::string StaticAlgorithmName ()
 

Detailed Description

Salsa20 stream cipher.

Salsa20 provides a variable number of rounds: 8, 12 or 20. The default number of rounds is 20.

See also
The Salsa20 family of stream ciphers (20071225), Snuffle 2005: the Salsa20 encryption function and Salsa20
Since
Crypto++ 5.4

Definition at line 67 of file salsa.h.

Member Typedef Documentation

◆ Decryption

Definition at line 70 of file salsa.h.

◆ Encryption

Definition at line 69 of file salsa.h.


The documentation for this struct was generated from the following file: