1Digest::BubbleBabble(3)User Contributed Perl DocumentatioDnigest::BubbleBabble(3)
2
3
4

NAME

6       Digest::BubbleBabble - Create bubble-babble fingerprints
7

SYNOPSIS

9           # Create a fingerprint of a simple string.
10           use Digest::BubbleBabble qw( bubblebabble );
11           my $fingerprint = bubblebabble( Digest => "Pineapple" );
12
13           # Create a fingerprint of a SHA-1 hash.
14           use Digest::SHA1 qw( sha1 );
15           $fingerprint = bubblebabble( Digest => sha1("hello") );
16

DESCRIPTION

18       Digest::BubbleBabble takes a message digest (often generated by either
19       of the MD5 or SHA-1 message digest algorithms) and creates a
20       fingerprint of that digest in "bubble babble" format.  Bubble babble is
21       a method of representing a message digest as a string of "real" words,
22       to make the fingerprint easier to remember. The "words" are not
23       necessarily real words, but they look more like words than a string of
24       hex characters.
25
26       Bubble babble fingerprinting is used by the SSH2 suite (and,
27       consequently, by Net::SSH::Perl, the Perl SSH implementation) to
28       display easy-to-remember key fingerprints.  The key (a DSA or RSA key)
29       is converted into a textual form, digested using Digest::SHA1, and run
30       through bubblebabble to create the key fingerprint.
31

USAGE

33       Digest::BubbleBabble conditionally exports one function called
34       bubblebabble; to import the function you must choose to import it, like
35       this:
36
37           use Digest::BubbleBabble qw( bubblebabble );
38
39   bubblebabble( Digest => $digest )
40       Currently takes only one pair of arguments, the key of which must be
41       Digest, the value of which is the actual message digest $digest. You
42       should generate this message digest yourself using either Digest::MD5
43       of Digest::SHA1.
44
45       Returns the bubble babble form of the digest.
46

SEE ALSO

48       The BubbleBabble specification is available at:
49       http://web.mit.edu/kenta/www/one/bubblebabble/spec/jrtrjwzi/draft-huima-01.txt
50

LICENSE

52       Digest::BubbleBabble is free software; you may redistribute it and/or
53       modify it under the same terms as Perl itself.
54

AUTHOR & COPYRIGHTS

56       Benjamin Trott, cpan@stupidfool.org
57
58       Except where otherwise noted, Digest::BubbleBabble is Copyright 2001
59       Benjamin Trott. All rights reserved.
60
61
62
63perl v5.30.0                      2019-07-26           Digest::BubbleBabble(3)
Impressum