|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjitas.util.Encryptor
public class Encryptor
The encryptor class encrypts the real password and return it back for saving and authentication purpose.
| Constructor Summary | |
|---|---|
Encryptor()
|
|
| Method Summary | |
|---|---|
java.lang.String |
encrypt(java.lang.String password)
Encrypt the password using SHA algorithm |
static Encryptor |
getEncryptor()
Create a new object if it does not exist or return the existing instance |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Encryptor()
| Method Detail |
|---|
public java.lang.String encrypt(java.lang.String password)
password - the password that needs to be encrypted
public static Encryptor getEncryptor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||