Crypto++
8.2
Free C++ class library of cryptographic schemes
|
Go to the documentation of this file.
14 #ifndef CRYPTOPP_HC256_H
15 #define CRYPTOPP_HC256_H
26 CRYPTOPP_STATIC_CONSTEXPR
const char* StaticAlgorithmName() {
return "HC-256"; }
34 void CipherSetKey(
const NameValuePairs ¶ms,
const byte *key,
size_t length);
35 void OperateKeystream(
KeystreamOperation operation,
byte *output,
const byte *input,
size_t iterationCount);
36 void CipherResynchronize(
byte *keystreamBuffer,
const byte *iv,
size_t length);
37 bool CanOperateKeystream()
const {
return true; }
38 bool CipherIsRandomAccess()
const {
return false; }
67 #endif // CRYPTOPP_HC256_H
HC-256 stream cipher implementation.
Provides Encryption and Decryption typedefs used by derived classes to implement a symmetric cipher.
SymmetricCipher implementation.
Base class for additive stream ciphers.
Classes and functions for secure memory allocations.
Interface for algorithms that take byte strings as keys.
Inherited by keyed algorithms with fixed key length.
KeystreamOperation
Keystream operation flags.
HC-256 stream cipher information.
Crypto++ library namespace.
Interface for retrieving values given their names.
Classes for implementing stream ciphers.