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