mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
13cf6fb6d1
Perl5 interface to a fingerprint in "bubble babble" format PR: 35889 Submitted by: jesper
15 lines
740 B
Plaintext
15 lines
740 B
Plaintext
Digest::BubbleBabble takes a message digest (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.
|
|
|
|
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.
|