com.mindbright.ssh2
public final class SSH2KeyFingerprint extends java.lang.Object
Constructor and Description |
---|
SSH2KeyFingerprint() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
bubbleBabble(byte[] blob)
Calculates the bubble-babble checksum of the given blob.
|
static java.lang.String |
bubbleBabble(java.security.PublicKey key)
Calculates the bubble-babble checksum of the given key.
|
static java.lang.String |
md5Hex(byte[] blob)
Calculates the MD5 checksum of the given blob.
|
static java.lang.String |
md5Hex(java.security.PublicKey key)
Calculates the MD5 checksum of the given key.
|
public static java.lang.String md5Hex(java.security.PublicKey key) throws SSH2Exception
key
- Key to calculate checksum of.SSH2Exception
public static java.lang.String md5Hex(byte[] blob)
blob
- Data to calculate checksum of.public static java.lang.String bubbleBabble(java.security.PublicKey key) throws SSH2Exception
key
- Key to calculate checksum of.SSH2Exception
public static java.lang.String bubbleBabble(byte[] blob)
blob
- Data to calculate checksum of.