Digest:...eBabble(3)
π NAME π
okay so this is the Digest::BubbleBabble(3) manual page, and its whole main-character thing is literally Create bubble-babble fingerprints. slay. β¨
π«§ SYNOPSIS π«§
bestie, the vibe is two little snippets of code:
# Create a fingerprint of a simple string.
use Digest::BubbleBabble qw( bubblebabble );
my $fingerprint = bubblebabble( Digest => "Pineapple" );
# Create a fingerprint of a SHA-1 hash.
use Digest::SHA1 qw( sha1 );
$fingerprint = bubblebabble( Digest => sha1("hello") );
π¦ DESCRIPTION π¦
Digest::BubbleBabble takes a message digest β often generated by either of the MD5 or SHA-1 message digest algorithms β and creates a fingerprint of that digest in βbubble babbleβ format. Bubble babble is a method of representing a message digest as a string of βrealβ words, to make the fingerprint easier to remember. The βwordsβ are not necessarily real words, but they look more like words than a string of hex characters. no cap, thatβs the whole charm. π«Ά
Bubble babble fingerprinting is used by the SSH2 suite (and, consequently, by Net::SSH::Perl, the Perl SSH implementation) to display easy-to-remember key fingerprints. The key (a DSA or RSA key) is converted into a textual form, digested using Digest::SHA1, and run through bubblebabble to create the key fingerprint. iconic behavior, honestly. π
πΈ USAGE πΈ
Digest::BubbleBabble conditionally exports one function called bubblebabble; to import the function you must choose to import it, like this:
use Digest::BubbleBabble qw( bubblebabble );
π bubblebabble( Digest => $digest ) π
Currently takes only one pair of arguments, the key of which must be Digest, the value of which is the actual message digest $digest. You should generate this message digest yourself using either Digest::MD5 of Digest::SHA1. bestie, thatβs the whole argument situation β one pair, no extras. π
Returns the bubble babble form of the digest. periodt. β¨
π SEE ALSO π
The BubbleBabble specification is available at: http://web.mit.edu/kenta/www/one/bubblebabble/spec/jrtrjwzi/draft-huima-01.txt
π LICENSE π
Digest::BubbleBabble is free software; you may redistribute it and/or modify it under the same terms as Perl itself. π
π AUTHOR & COPYRIGHTS π
Benjamin Trott, cpan@stupidfool.org
Except where otherwise noted, Digest::BubbleBabble is Copyright 2001 Benjamin Trott. All rights reserved.
okay thatβs the whole page, bestie β brought to you from perl v5.42.2, dated 2023-07-03. π«Άβ¨
π¦ where this page comes from
- alpine 3.24: perl-digest-bubblebabble-doc 0.02-r5 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms