public class SHA1
extends java.lang.Object
| Constructor and Description |
|---|
SHA1() |
| Modifier and Type | Method and Description |
|---|---|
protected static java.lang.String |
byteToHex(byte[] hash)
Convert from byte to hexa.
|
static java.lang.String |
getSHA1(java.lang.String pArg)
Return the hash value of argument using SHA1 algorithm.
|
public static java.lang.String getSHA1(java.lang.String pArg)
pArg - the value to hash.protected static java.lang.String byteToHex(byte[] hash)
hash - the input in bytes.