NAME

CTK::Digest::FNV32a - FNV32a Digest calculation for short strings

VERSION

Version 1.02

SYNOPSIS

use CTK::Digest::FNV32a;
my $fnv32a = CTK::Digest::FNV32a->new();
my $digest = $fnv32a->digest( "123456789" ); # 0xbb86b11c
my $hexdigest = $fnv32a->digest( "123456789" ); # bb86b11c

DESCRIPTION

This is Digest backend module that provides calculate FNV32a Digest for short strings

METHODS

digest

my $digest = $fnv32a->digest( "123456789" ); # 0xbb86b11c

Returns FNV32a Digest

hexdigest

my $hexdigest = $fnv32a->digest( "123456789" ); # bb86b11c

Returns FNV32a Digest in hex form

HISTORY

See Changes file

TO DO

See TODO file

BUGS

* none noted

SEE ALSO

CTK::Digest, https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function, http://isthe.com/chongo/tech/comp/fnv/, Digest::FNV::PurePerl

AUTHOR

Serż Minus (Sergey Lepenkov) https://www.serzik.com <abalama@cpan.org>

COPYRIGHT

Copyright (C) 1998-2022 D&D Corporation. All Rights Reserved

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See LICENSE file and https://dev.perl.org/licenses