|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.apache.lenya.ac.Password
public class Password
Encrypt plain text password Example: "message digest" becomes "f96b697d7cb7938d525a2f31aaf161d0" (hexadecimal notation (32 characters))
| Constructor Summary | |
|---|---|
Password()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
encrypt(java.lang.String plain)
Encrypt plain text password |
static java.lang.String |
getMD5(java.lang.String plain)
Returns the MD5 representation of a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Password()
| Method Detail |
|---|
public static java.lang.String encrypt(java.lang.String plain)
plain - plain text password
public static java.lang.String getMD5(java.lang.String plain)
plain - The plain string.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||