RDFStore::Util::Digest - Utility library to manage SHA-1 cryptographic digests


NAME

RDFStore::Util::Digest - Utility library to manage SHA-1 cryptographic digests


SYNOPSIS

        use RDFStore::Util::Digest;
        if( getDigestAlgorithm() eq 'SHA-1' ) {
                my $sha1_digest = computeDigest( $string );
                };


DESCRIPTION

Simple SHA-1 cryptographic digest generator


METHODS

computeDigest ( STRING )
Return binary formatted cryptographic digest of give STRING

getDigestAlgorithm ()
Return 'SHA-1' - no other cryto method implemented for the moment


SEE ALSO

 Digest(1) Digest::SHA1(3)


AUTHOR

        Alberto Reggiori <areggiori@webweaving.org>

 RDFStore::Util::Digest - Utility library to manage SHA-1 cryptographic digests