6 #ifndef CRYPTOPP_ARC4_H 7 #define CRYPTOPP_ARC4_H 78 #if CRYPTOPP_ENABLE_NAMESPACE_WEAK >= 1 81 using namespace Weak1;
83 #warning "You may be using a weak algorithm that has been retained for backwards compatibility. Please '#define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1' before including this .h file and prepend the class name with 'Weak::' to remove this warning." 85 #pragma message("You may be using a weak algorithm that has been retained for backwards compatibility. Please '#define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1' before including this .h file and prepend the class name with 'Weak::' to remove this warning.") #define DOCUMENTED_TYPEDEF(x, y)
#define CRYPTOPP_STATIC_CONSTEXPR
virtual void GenerateBlock(byte *output, size_t size)
Generate random array of bytes.
#define NAMESPACE_BEGIN(x)
Abstract base classes that provide a uniform interface to this library.
virtual void DiscardBytes(size_t n)
Generate and discard n bytes.
Classes for automatic resource management.
Interface for random number generators.
bool IsForwardTransformation() const
Determines if the cipher is being operated in its forward direction.
SymmetricCipherFinal< MARC4_Base > Encryption
unsigned int GetDefaultDiscardBytes() const
Classes and functions for secure memory allocations.
SymmetricCipherFinal< ARC4_Base > Decryption
FixedSizeSecBlock< byte, 256 > m_state
SymmetricCipherFinal< ARC4_Base > Encryption
CRYPTOPP_STATIC_CONSTEXPR const char * StaticAlgorithmName()
Interface for one direction (encryption or decryption) of a stream cipher or cipher mode...
Inherited by keyed algorithms with variable key length.
#define CRYPTOPP_NO_VTABLE
Classes for implementing stream ciphers.
Provides Encryption and Decryption typedefs used by derived classes to implement a symmetric cipher...
SymmetricCipherFinal< MARC4_Base > Decryption
virtual unsigned int GetDefaultDiscardBytes() const
uint8_t const size_t const size
CRYPTOPP_STATIC_CONSTEXPR const char * StaticAlgorithmName()
bool IsSelfInverting() const
Determines whether the cipher is self-inverting.
virtual void UncheckedSetKey(const byte *key, unsigned int length, const NameValuePairs ¶ms)=0
Sets the key for this object without performing parameter validation.
SymmetricCipher implementation.
bool IsRandomAccess() const
Determines whether the cipher supports random access.
Interface for retrieving values given their names.