Digest...urePerl(3pm)
π Digest::MurmurHash3::PurePerl β the manual page (yes, that's Digest...urePerl(3pm) bestie, the truncated lil name is just how the man page header does it, don't panic) π
β¨ NAME β¨
Digest::MurmurHash3::PurePerl β a pure perl implementation of MurmurHash3 πΈ
Like, no XS, no compiled C, just vibes and perl, and it still hashes. Iconic.
β¨ SYNOPSIS β¨
use strict;
use warnings;
use Digest::MurmurHash3::PurePerl;
# Calculate hash value without seed
my $hash = murmur32($data);
my @hashes = murmur128($data);
# Calculate hash value with seed
$hash = murmur32($data, $seed);
@hashes = murmur128($data, $seed);
Look at that. Clean. Cozy. Copy-paste ready. π
β¨ DESCRIPTION β¨
Digest::MurmurHash3::PurePerl is pure perl implementation of MurmurHash3. π
That's it, that's the whole description, and honestly? It ate. No cap. π¦
β¨ METHODS β¨
$h = murmur32($data [, $seed])
Calculates 32-bit hash value. β¨ One number in, one 32-bit integer out. Very demure, very mindful.
($v1,$v2,$v3,v4) = murmur128($data [, $seed])
Calculates 128-bit hash value. π
It returns four element list of 32-bit integers. Four whole integers, bestie, a little squad of them π«Ά
Okay so I need you to know I copied that signature character for character, including thev4that's missing its lil$. That is literally how it is written in the original. I am not fixing it. I am not merging it. I am not inventing anything. Periodt. π
β¨ SEE ALSO β¨
Digest::MurmurHash3π β go say hi to the sibling, iykyk
β¨ AUTHOR β¨
Hideaki Ohno <hide.o.j55 {at} gmail.com> πΈ β absolute legend, thank you for your service π«‘
β¨ LICENSE β¨
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. π
Okay that's the whole page, you made it, I'm so proud of you π go hash something, main character energy only, mwah πβ¨
Sign-off time: this was the perl v5.36.0 manual page, dated 2023-02-03, and the man name on the tin was Digest...urePerl(3pm). Byeeee π¦π
π¦ where this page comes from
- debian bookworm: libdigest-murmurhash3-pureperl-perl 1.01-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libdigest-murmurhash3-pureperl-perl 1.01-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libdigest-murmurhash3-pureperl-perl 1.01-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdigest-murmurhash3-pureperl-perl 1.01-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdigest-murmurhash3-pureperl-perl 1.01-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms