NAME

Crypt::Komihash - Komihash implementation in Perl

SYNOPSIS

use Crypt::Komihash qw(komihash komihash_hex);

my $input = "Hello world";
my $seed  = 0;

my $num     = komihash($input, $seed);     # 3745467240760726046
my $hex_str = komihash_hex($input, $seed); # 33fa929c7367d21e

DESCRIPTION

Komihash is a super fast modern hashing algorithm that converts strings into 64bit integers. Mainly designed for hash-table, hash-map, and bloom-filter uses.

Komihash: https://github.com/avaneev/komihash

METHODS

$num = komihash($bytes, $seed = 0)

returns 64bit integer hash for the given input and seed.

$hex = komihash_hex($bytes, $seed = 0)

returns hex string hash for the given input and seed.

BUGS

Submit issues on Github: https://github.com/scottchiefbaker/perl-Crypt-Komihash/issues

AUTHOR

Scott Baker - https://www.perturb.org/