|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Hash algorithm used by the SSH layer. Provides functionality for hashing Strings.
Method Summary | |
java.lang.String |
getHashAlgorithmName()
Returns the MJC name of the MJCSSHHashAlgorithm. |
java.lang.String |
getHashAlgorithmVersion()
Returns the MJC version of the MJCSSHHashAlgorithm. |
int |
getHashLength()
Returns the length of the hash value (as String) in number of bytes. |
java.lang.String |
hash(java.lang.String s)
Returns the hash value of the given String. |
java.math.BigInteger |
hashAsBigInteger(java.lang.String s)
Returns the hash value of the given String as BigInteger. |
Method Detail |
public java.lang.String getHashAlgorithmName()
public java.lang.String getHashAlgorithmVersion()
public java.lang.String hash(java.lang.String s)
String
- s: the String to be hashedpublic java.math.BigInteger hashAsBigInteger(java.lang.String s)
String
- s: the String to be hashedpublic int getHashLength()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |