NAME

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

SYNOPSIS

use Acrux::Digest::FNV32a;

my $fnv32a = Acrux::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

This class inherits all methods from Acrux::Digest and implements the following new ones

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

SEE ALSO

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

AUTHOR

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

COPYRIGHT

Copyright (C) 1998-2024 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/