1BubbleBabble(3) User Contributed Perl Documentation BubbleBabble(3)
2
3
4
6 Digest::BubbleBabble - Create bubble-babble fingerprints
7
9 use Digest::BubbleBabble qw( bubblebabble );
10 use Digest::SHA1 qw( sha1 );
11
12 my $fingerprint = bubblebabble( Digest => sha1($message) );
13
15 Digest::BubbleBabble takes a message digest (generated by either of the
16 MD5 or SHA-1 message digest algorithms) and creates a fingerprint of
17 that digest in "bubble babble" format. Bubble babble is a method of
18 representing a message digest as a string of "real" words, to make the
19 fingerprint easier to remember. The "words" are not necessarily real
20 words, but they look more like words than a string of hex characters.
21
22 Bubble babble fingerprinting is used by the SSH2 suite (and, conse‐
23 quently, by Net::SSH::Perl, the Perl SSH implementation) to display
24 easy-to-remember key fingerprints. The key (a DSA or RSA key) is con‐
25 verted into a textual form, digested using Digest::SHA1, and run
26 through bubblebabble to create the key fingerprint.
27
29 Digest::BubbleBabble conditionally exports one function called bubble‐
30 babble; to import the function you must choose to import it, like this:
31
32 use Digest::BubbleBabble qw( bubblebabble );
33
34 bubblebabble( Digest => $digest )
35
36 Currently takes only one pair of arguments, the key of which must be
37 Digest, the value of which is the actual message digest $digest. You
38 should generate this message digest yourself using either Digest::MD5
39 of Digest::SHA1.
40
41 Returns the bubble babble form of the digest.
42
44 Benjamin Trott, ben@rhumba.pair.com
45
46 Except where otherwise noted, Digest::BubbleBabble is Copyright 2001
47 Benjamin Trott. All rights reserved. Digest::BubbleBabble is free soft‐
48 ware; you may redistribute it and/or modify it under the same terms as
49 Perl itself.
50
51
52
53perl v5.8.8 2001-05-02 BubbleBabble(3)