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


RDFStore documentation  | view source Contained in the RDFStore distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

DESCRIPTION

Top

Simple SHA-1 cryptographic digest generator

METHODS

Top

computeDigest ( STRING )

Return binary formatted cryptographic digest of give STRING

getDigestAlgorithm ()

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

SEE ALSO

Top

 Digest(1) Digest::SHA1(3)

AUTHOR

Top

	Alberto Reggiori <areggiori@webweaving.org>



RDFStore documentation  | view source Contained in the RDFStore distribution.