|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectwicket.util.crypt.NoCrypt
Due to legal reasons in some countries the JRE is shipped without a security provider. As a convenience solution, we provide a default implementation which does not encrypt/decrypt the data. It does not modify the data at all. Thus we strongly recommend not to use it for production sites.
| Constructor Summary | |
NoCrypt()
Constructor |
|
| Method Summary | |
java.lang.String |
decrypt(java.lang.String text)
Decrypts a string into a string. |
java.lang.String |
encrypt(java.lang.String plainText)
Encrypt a string into a string |
void |
setKey(java.lang.String key)
Set encryption private key |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NoCrypt()
| Method Detail |
public final java.lang.String decrypt(java.lang.String text)
decrypt in interface ICrypttext - text to decript
public final java.lang.String encrypt(java.lang.String plainText)
encrypt in interface ICryptplainText - text to encrypt
public void setKey(java.lang.String key)
setKey in interface ICryptkey - private key to make de-/encryption unique
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||