CryptoPP::IdentityHash
Defined in header “ark/crypt/detail/identity_hash.hh”.
An implementation of a CryptoPP identity hash, which can be used to sign/verify with a precomputed hash. This is typically used as a means to inject a precomputed digest into a signing/verification algorithm.
Methods
- 
CRYPTOPP_CONSTANT() 
- 
IdentityHash() 
 Constructor.
- 
unsigned int DigestSize() 
- 
void Update(const byte * input, size_t length) 
 Copies length bytes into the hash. Stops copying after HashSize bytes have been copied over.
- 
void TruncatedFinal(byte * destination, size_t length) 
 Finalizes the hash, copying the result into the digest bytes given.
- 
void Restart() 
 Restarts the hash, allowing you to start over on filling the digest up.
- 
std::string AlgorithmName() 
 Returns the algorithm name (from an instance).