Static Public Member Functions | |
HashPassword | getHashPassword (String password) |
char[] | hexDump (byte[] src) |
void | smudge (char[] pwd) |
void | smudge (byte[] pwd) |
String | hashPassword (char[] pwd) throws NoSuchAlgorithmException |
String | hashPassword (char[] pwd, String algo) throws NoSuchAlgorithmException |
String | hashPassword (String string, String algo) throws NoSuchAlgorithmException |
Static Public Attributes | |
final String | DEFAULT_ALGO = "MD5" |
Yann Petiot for the modifications
Florent Benoit modifications for integration in JOnAS
Definition at line 38 of file HashHelper.java.
|
Return the haspassword object from a string. It extracts algorithm and password from the string
Definition at line 93 of file HashHelper.java. |
|
Performs an algorithm specified by the user hashing on the supplied password and return a char array containing the encrypted password as a printable string. The hash is computed on the low 8 bits of each character.
Definition at line 214 of file HashHelper.java. |
|
Performs an algorithm specified by the user hashing on the supplied password and return a char array containing the encrypted password as a printable string. The hash is computed on the low 8 bits of each character.
Definition at line 186 of file HashHelper.java. |
|
Performs the default algorithm hashing on the supplied password and return a char array containing the password as a printable string. The hash is computed on the low 8 bits of each character.
Definition at line 172 of file HashHelper.java. |
|
Turn a byte array into a char array containing a printable hex representation of the bytes. Each byte in the source array contributes a pair of hex digits to the output array.
Definition at line 121 of file HashHelper.java. |
|
Zero the contents of the specified array.
Definition at line 156 of file HashHelper.java. |
|
Zero the contents of the specified array. Typically used to erase temporary storage that has held plaintext passwords so that we don't leave them lying around in memory.
Definition at line 144 of file HashHelper.java. |
|
The default algorithm Definition at line 63 of file HashHelper.java. |