Interface DataEncryptionManager

  • All Known Implementing Classes:
    BasicDataEncryptionManager

    public interface DataEncryptionManager
    A class which describes how data should be encrypted and decrypted
    • Method Detail

      • encryptData

        byte[] encryptData​(java.lang.String data)
                    throws java.lang.Exception
        Parameters:
        data - - the data to be encrypted
        Returns:
        the encrypted data
        Throws:
        java.lang.Exception
      • decryptData

        java.lang.String decryptData​(byte[] encrypted)
                              throws java.lang.Exception
        Parameters:
        encrypted - - the data to be decrypted
        Returns:
        the decrypted data
        Throws:
        java.lang.Exception