in reply to xxHash Base64
If you are running a 64-bit build of perl, or one that has 64-bit integer math, then you could do the following:
use Digest::xxHash64 qw[ xxHash64 ]; use Mime::Base64; my $data = ...; ## from wherever my $xxH64B64 = encode_base64( pack 'Q', xxHash64( $data ) );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: xxHash Base64
by timtowtdi (Sexton) on Jun 09, 2016 at 13:19 UTC | |
|
Re^2: xxHash Base64
by Anonymous Monk on Jun 09, 2016 at 17:40 UTC |