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
77namespace Weak {
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.")
Interface for retrieving values given their names.
Interface for random number generators.
Interface for one direction (encryption or decryption) of a stream cipher or cipher mode.
Inherited by keyed algorithms with variable key length.
bool IsRandomAccess() const
Determines whether the cipher supports random access.
bool IsSelfInverting() const
Determines whether the cipher is self-inverting.
bool IsForwardTransformation() const
Determines if the cipher is being operated in its forward direction.
Abstract base classes that provide a uniform interface to this library.
Crypto++ library namespace.
Namespace containing weak and wounded algorithms.
Classes and functions for secure memory allocations.
Classes for automatic resource management.
Classes for implementing stream ciphers.
Provides Encryption and Decryption typedefs used by derived classes to implement a symmetric cipher.