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 String
decrypt
(String encodedValue, StringEncryptor encryptor) static String
decrypt
(String encodedValue, TextEncryptor encryptor) static String
encrypt
(String decodedValue, StringEncryptor encryptor) static String
encrypt
(String decodedValue, TextEncryptor encryptor) static boolean
isEncryptedValue
(String value)
-
Method Details
-
isEncryptedValue
-
decrypt
-
decrypt
-
encrypt
-
encrypt
-