Interface PrometheusPreferenceEncryptor
- All Known Implementing Classes:
PrometheusPreferenceSecurity
public interface PrometheusPreferenceEncryptor
Preference Encryptor.
-
Method Summary
Modifier and TypeMethodDescriptionchar[]decryptValue(byte[] pValue) Decrypt the value.byte[]encryptValue(char[] pValue) Encrypt the value.
-
Method Details
-
encryptValue
Encrypt the value.- Parameters:
pValue- the value to encrypt- Returns:
- the encrypted value
- Throws:
OceanusException- on error
-
decryptValue
Decrypt the value.- Parameters:
pValue- the value to decrypt- Returns:
- the decrypted value
- Throws:
OceanusException- on error
-