File Information
Library: Foundation
Package: Crypt
Header: Poco/SHA2Engine.h
Description
This class implements the SHA-2 message digest algorithm. (FIPS 180-4, see http://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf)
Inheritance
Direct Base Classes: DigestEngine
All Base Classes: DigestEngine
Member Summary
Member Functions: digest, digestLength, reset, updateImpl
Inherited Functions: constantTimeEquals, digest, digestFromHex, digestLength, digestToHex, reset, update, updateImpl
Enumerations
ALGORITHM
SHA_224 = 224
SHA_256 = 256
SHA_384 = 384
SHA_512 = 512
Constructors
SHA2Engine
SHA2Engine(
ALGORITHM algorithm = SHA_256
);
Destructor
~SHA2Engine
~SHA2Engine();
Member Functions
digest
const DigestEngine::Digest & digest();
digestLength
std::size_t digestLength() const;
See also: Poco::DigestEngine::digestLength()
reset
void reset();
See also: Poco::DigestEngine::reset()
updateImpl
void updateImpl(
const void * data,
std::size_t length
);
See also: Poco::DigestEngine::updateImpl()