7 #ifndef CRYPTOPP_ARC4_H 8 #define CRYPTOPP_ARC4_H 27 CRYPTOPP_STATIC_CONSTEXPR
const char* StaticAlgorithmName() {
return "ARC4";}
29 void GenerateBlock(byte *output,
size_t size);
30 void DiscardBytes(
size_t n);
32 void ProcessData(byte *outString,
const byte *inString,
size_t length);
42 void UncheckedSetKey(
const byte *key,
unsigned int length,
const NameValuePairs ¶ms);
43 virtual unsigned int GetDefaultDiscardBytes()
const {
return 0;}
61 CRYPTOPP_STATIC_CONSTEXPR
const char* StaticAlgorithmName() {
return "MARC4";}
67 unsigned int GetDefaultDiscardBytes()
const {
return 256;}
76 #if CRYPTOPP_ENABLE_NAMESPACE_WEAK >= 1 77 namespace Weak {
using namespace Weak1;}
79 using namespace Weak1;
81 #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." 83 #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.")
Abstract base classes that provide a uniform interface to this library.
Classes for automatic resource management.
Interface for random number generators.
Classes and functions for secure memory allocations.
bool IsSelfInverting() const
Determines whether the cipher is self-inverting.
Interface for one direction (encryption or decryption) of a stream cipher or cipher mode...
Inherited by keyed algorithms with variable key length.
Classes for implementing stream ciphers.
Provides Encryption and Decryption typedefs used by derived classes to implement a symmetric cipher...
bool IsForwardTransformation() const
Determines if the cipher is being operated in its forward direction.
bool IsRandomAccess() const
Determines whether the cipher supports random access.
Crypto++ library namespace.
Namespace containing weak and wounded algorithms.
Interface for retrieving values given their names.