Alberto Reggiori > RDFStore-0.51 > RDFStore::Util::Digest

Download:
RDFStore-0.51.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View Bugs
Report a bug
Module Version: 0.1   Source  

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>