Digest::FarmHash - FarmHash Implementation For Perl
use Digest::FarmHash qw( farmhash32 farmhash64 farmhash128 farmhash_fingerprint32 farmhash_fingerprint64 farmhash_fingerprint128 ); my $hash = farmhash32($data_to_hash); my $hash = farmhash64($data_to_hash); my ($lo, $hi) = farmhash128($data_to_hash); my $fingerprint = farmhash_fingerprint32($data_to_hash); my $fingerprint = farmhash_fingerprint64($data_to_hash); my ($lo, $hi) = farmhash_fingerprint128($data_to_hash);
This module provides an interface to FarmHash functions.
https://github.com/google/farmhash
Note that this module works only in the environment which supported a 64-bit integer.
Jiro Nishiguchi <jiro@cpan.org>
FarmHash by Google, Inc.
To install Digest::FarmHash, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Digest::FarmHash
CPAN shell
perl -MCPAN -e shell install Digest::FarmHash
For more information on module installation, please visit the detailed CPAN module installation guide.