java.lang.Object
org.apache.wicket.util.crypt.NoCrypt
- All Implemented Interfaces:
ICrypt
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.
- Author:
- Juergen Donnerstag
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
decryptUrlSafe
(String text) Decrypts a string into a string.final String
encryptUrlSafe
(String plainText) Encrypt a string into a string
-
Constructor Details
-
NoCrypt
public NoCrypt()Constructor
-
-
Method Details
-
decryptUrlSafe
Decrypts a string into a string.- Specified by:
decryptUrlSafe
in interfaceICrypt
- Parameters:
text
- text to decrypt- Returns:
- the decrypted text
-
encryptUrlSafe
Encrypt a string into a string- Specified by:
encryptUrlSafe
in interfaceICrypt
- Parameters:
plainText
- text to encrypt- Returns:
- encrypted string
-