]>
iEval git - digest-highwayhash.git/blob - HighwayHash.pm
108021b4fc71dd320a1191725316a9a5414cb67f
1 package Digest
::HighwayHash
;
6 use parent qw
/Exporter/;
8 our @EXPORT_OK = qw
/highway_hash64 highway_hash128 highway_hash256/;
9 our @EXPORT = @EXPORT_OK;
11 our $VERSION = '0.000_001';
16 XSLoader
::load
('Digest::HighwayHash', $VERSION);
25 Digest::HighwayHash - fast strong hash function
29 use Digest::HighwayHash;
30 say highway_hash64 [1, 2, 3, 4], 'hello';
31 # 11956820856122239241
32 say join ' ', @{highway_hash128([1, 2, 3, 4], 'hello')};
33 # 3048112761216189476 13900443277579286659
34 say join ' ', @{highway_hash256([1, 2, 3, 4], 'hello')};
35 # 8099666330974151427 17027479935588128037 4015249936799013189 10027181291351549853
39 HighwayHash is a fast and strong hash function, documented at
40 L<https://github.com/google/highwayhash>.
44 L<https://github.com/google/highwayhash>
48 Marius Gavrilescu, E<lt>marius@ieval.roE<gt>
50 =head1 COPYRIGHT AND LICENSE
52 Copyright (C) 2018 by Marius Gavrilescu
54 This library is free software; you can redistribute it and/or modify
55 it under the same terms as Perl itself, either Perl version 5.24.1 or,
56 at your option, any later version of Perl 5 you may have available.
This page took 0.041982 seconds and 3 git commands to generate.