public class HashPassword
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static CentralLogger |
LOG
Logger
|
| Constructor and Description |
|---|
HashPassword() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
hashPassword(java.lang.String plain)
Hashes string into a digest used as an internal password represenation.
|
static void |
main(java.lang.String[] args)
The command line entry point.
|
private static final CentralLogger LOG
public static byte[] hashPassword(java.lang.String plain)
plain - plain text passwordnull, if SHA algorithm is unavailable.public static void main(java.lang.String[] args)
args - The array of command-line parameters. Not used here.