com.mindbright.ssh2
Class SSH2KeyFingerprint

java.lang.Object
  extended bycom.mindbright.ssh2.SSH2KeyFingerprint

public final class SSH2KeyFingerprint
extends java.lang.Object

Contains static methods for calculating fingerprints on keys.


Constructor Summary
SSH2KeyFingerprint()
           
 
Method Summary
static java.lang.String bubbleBabble(byte[] blob)
          Calculates the bubble-babble checksum of the given blob.
static java.lang.String md5Hex(byte[] blob)
          Calculates the MD5 checksum of the given blob.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSH2KeyFingerprint

public SSH2KeyFingerprint()
Method Detail

md5Hex

public static java.lang.String md5Hex(byte[] blob)
Calculates the MD5 checksum of the given blob.

Parameters:
blob - Data to calculate checksum of.
Returns:
The checksum expressed as a hexadecimal string.

bubbleBabble

public static java.lang.String bubbleBabble(byte[] blob)
Calculates the bubble-babble checksum of the given blob.

Parameters:
blob - Data to calculate checksum of.
Returns:
The bubble-babble checksum string.