Package org.jasypt.properties
Class PropertyValueEncryptionUtils
Object
org.jasypt.properties.PropertyValueEncryptionUtils
Utility class to encrypt/decrypt values in properties files which could be encrypted.
A value is considered "encrypted" when it appears surrounded by ENC(...), like:
This class is meant for internal Jasypt use only.
- Since:
- 1.4
- Author:
- Daniel Fernández
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stringdecrypt(String encodedValue, StringEncryptor encryptor) static Stringdecrypt(String encodedValue, TextEncryptor encryptor) static Stringencrypt(String decodedValue, StringEncryptor encryptor) static Stringencrypt(String decodedValue, TextEncryptor encryptor) static booleanisEncryptedValue(String value)
-
Method Details
-
isEncryptedValue
-
decrypt
-
decrypt
-
encrypt
-
encrypt
-