RDFStore::Util::Digest - Utility library to manage SHA-1 cryptographic digests
use RDFStore::Util::Digest;
if( getDigestAlgorithm() eq 'SHA-1' ) {
my $sha1_digest = computeDigest( $string );
};
Simple SHA-1 cryptographic digest generator
- computeDigest ( STRING )
- Return binary formatted cryptographic digest of give STRING
- getDigestAlgorithm ()
- Return 'SHA-1' - no other cryto method implemented for the moment
Digest(1) Digest::SHA1(3)
Alberto Reggiori <areggiori@webweaving.org>
Hey! The above document had some coding errors, which are explained
below:
- Around line 59:
- You forgot a '=back' before '=head1'