Net::DNS::SEC::Digest3pm
Message digest algorithms
Usage
require Net::DNS::SEC::Digest;$object = Net::DNS::SEC::Digest::SHA->new(256);$object->add($text);$object->add($more);$digest = $object->digest;
Overview
Interface package providing access to the message digest algorithm implementations within the OpenSSL libcrypto library.
Methods
new
require Net::DNS::SEC::Digest;$object = Net::DNS::SEC::Digest::SHA->new(256);
Creates and initialises a new digest object instance for the specified algorithm class.
add
$object->add($data);$object->add($more);
Append specified data to the digest stream.
digest
$digest = $object->digest;
Returns an octet string containing the calculated digest.
Acknowledgment
Thanks are due to Eric Young and the many developers and contributors to the OpenSSL cryptographic library.
Releases
4 releases since Debian 11 (Bullseye); the text changed 3 times.