Digest::DJB - Perl extension to Daniel J. Bernstein's hashing algorithm.
use Digest::DJB qw(djb); my $hash = djb("abc123");
Digest::DJB is an implementation of D. J. Bernstein's hash which returns a 32-bit unsigned value for any variable-length input string. An equivalent pure Perl version is also available Digest::DJB::PurePerl.
Digest::DJB
Digest::DJB::PurePerl, Digest::Pearson, Digest::FNV.
Please send your comments to tnguyen@cpan.org.
To install Digest::DJB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Digest::DJB
CPAN shell
perl -MCPAN -e shell install Digest::DJB
For more information on module installation, please visit the detailed CPAN module installation guide.