|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICrypt
Provides methods that implement the Unix crypt command for creation of password hashes.
Method Summary | |
---|---|
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. |
Method Detail |
---|
java.lang.String crypt(java.lang.String a_password) throws java.security.NoSuchAlgorithmException
a_password
- a password as String
java.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 vary
java.security.NoSuchAlgorithmException
- if the hash algorithm is not available on the current system
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |