6 #ifndef CRYPTOPP_BLUMSHUB_H 7 #define CRYPTOPP_BLUMSHUB_H 30 unsigned int GenerateBit();
32 void GenerateBlock(
byte *output,
size_t size);
33 void ProcessData(
byte *outString,
const byte *inString,
size_t length);
41 word maxBits, bitsLeft;
BlumBlumShub(const Integer &p, const Integer &q, const Integer &seed)
Construct a BlumBlumShub.
Abstract base classes that provide a uniform interface to this library.
void Seek(lword index)
Seek to an absolute position.
Ring of congruence classes modulo n.
Interface for random number generators.
bool IsSelfInverting() const
Determines whether the cipher is self-inverting.
word64 word
Full word used for multiprecision integer arithmetic.
bool IsForwardTransformation() const
Determines if the cipher is being operated in its forward direction.
Multiple precision integer with arithmetic operations.
word64 lword
Large word type.
unsigned char byte
8-bit unsigned datatype
BlumBlumShub with factorization of the modulus.
Multiple precision integer with arithmetic operations.
Class file for performing modular arithmetic.
Crypto++ library namespace.
BlumBlumShub without factorization of the modulus.
bool IsRandomAccess() const
Determines whether the cipher supports random access.