| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
crypt(java.lang.String a_password)
Creates a UNIX/BSD/Linux-compatible hash value from a password String.
|
java.lang.String |
crypt(java.lang.String a_password,
java.lang.String a_salt)
Creates a UNIX/BSD/Linux-compatible hash value from a password String and a salt value.
|
java.lang.String crypt(java.lang.String a_password)
throws java.security.NoSuchAlgorithmException
a_password - a password as Stringjava.security.NoSuchAlgorithmException - if the hash algorithm is not available on the current systemjava.lang.String crypt(java.lang.String a_password,
java.lang.String a_salt)
throws java.security.NoSuchAlgorithmException
a_password - a password as Stringa_salt - a salt as String; the maximum length may varyjava.security.NoSuchAlgorithmException - if the hash algorithm is not available on the current systemCopyright © 2023. All rights reserved.