NAME Digest::SpookyHash - SpookyHash implementation for Perl SYNOPSIS use strict; use warnings; use Digest::SpookyHash qw(spooky32 spooky64 spooky128); my $key = 'spooky'; my $hash32 = spooky32($key, 0); my $hash64 = spooky64($key, 0); my ($hash64_1, $hash64_2) = spooky128($key, 0); DESCRIPTION This module provides an interface to SpookyHash(SpookyHash V2) functions. This module works only in the environment which supported a 64-bit integer. FUNCTIONS spooky32($key [, $seed = 0]) Calculates a 32 bit hash. spooky64($key [, $seed = 0]) Calculates a 64 bit hash. ($v1, $v2) = spooky128($key [, $seed1 = 0, $seed2 =0]) Calculates a 128 bit hash. The result is returned as a two element list of 64 bit integers. SEE ALSO AUTHOR Hideaki Ohno LICENSE This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.