Acrux
view release on metacpan or search on metacpan
lib/Acrux/Digest/FNV32a.pm view on Meta::CPAN
package Acrux::Digest::FNV32a;
use strict;
use utf8;
=encoding utf-8
=head1 NAME
Acrux::Digest::FNV32a - FNV32a Digest calculation for short strings
=head1 SYNOPSIS
use Acrux::Digest::FNV32a;
my $fnv32a = Acrux::Digest::FNV32a->new();
my $digest = $fnv32a->digest( "123456789" ); # 0xbb86b11c
my $hexdigest = $fnv32a->digest( "123456789" ); # bb86b11c
=head1 DESCRIPTION
This is Digest backend module that provides calculate FNV32a Digest for short strings
=head1 METHODS
This class inherits all methods from L<Acrux::Digest> and implements the following new ones
=head2 digest
my $digest = $fnv32a->digest( "123456789" ); # 0xbb86b11c
Returns FNV32a Digest
=head2 hexdigest
my $hexdigest = $fnv32a->digest( "123456789" ); # bb86b11c
Returns FNV32a Digest in hex form
=head1 HISTORY
See C<Changes> file
=head1 TO DO
See C<TODO> file
=head1 SEE ALSO
L<Acrux::Digest>, L<Digest::FNV::PurePerl>,
L<https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function>,
L<http://isthe.com/chongo/tech/comp/fnv/>
=head1 AUTHOR
Serż Minus (Sergey Lepenkov) L<https://www.serzik.com> E<lt>abalama@cpan.orgE<gt>
=head1 COPYRIGHT
Copyright (C) 1998-2026 D&D Corporation
=head1 LICENSE
This program is distributed under the terms of the Artistic License Version 2.0
See the C<LICENSE> file or L<https://opensource.org/license/artistic-2-0> for details
( run in 1.981 second using v1.01-cache-2.11-cpan-8f98c5d2c55 )