|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Encryption and decryption implementations are accessed through this interface. It provide some simple means to encrypt and decrypt strings, like passwords etc.. It depends on the implementation itself which algorithms are used to en-/decrypt the data.
| Method Summary | |
java.lang.String |
decrypt(java.lang.String text)
Decrypts a string. |
java.lang.String |
encrypt(java.lang.String plainText)
Encrypts a string. |
void |
setKey(java.lang.String key)
Sets private encryption key. |
| Method Detail |
public java.lang.String decrypt(java.lang.String text)
text - the text to decrypt
public java.lang.String encrypt(java.lang.String plainText)
plainText -
public void setKey(java.lang.String key)
key - private key
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||