Interface PropertyEncryptor

All Known Implementing Classes:
CipherPropertyEncryptor, KeyedCipherPropertyEncryptor

public interface PropertyEncryptor
Property Encryptor supporting encryption and decryption using configurable algorithms and keys
  • Method Summary

    Modifier and Type
    Method
    Description
    decrypt(String encryptedProperty)
    Decrypt encrypted property value and return deciphered contents
    encrypt(String property)
    Encrypt property value and return string representation of enciphered contents
  • Method Details

    • encrypt

      String encrypt(String property)
      Encrypt property value and return string representation of enciphered contents
      Parameters:
      property - Property value to be encrypted
      Returns:
      Encrypted representation of property value string
    • decrypt

      String decrypt(String encryptedProperty)
      Decrypt encrypted property value and return deciphered contents
      Parameters:
      encryptedProperty - Encrypted property value to be deciphered
      Returns:
      Decrypted property value string