Interface SymmetricCryptorFactory<K extends SecretKey>

    • Method Detail

      • newEncryptor

        default Encryptor newEncryptor​(K encryptionKey)
        Parameters:
        encryptionKey - the SecretKey to use for encryption.
        Returns:
        the Encryptor for encryption.
      • newDecryptor

        default Decryptor newDecryptor​(K decryptionKey)
        Parameters:
        decryptionKey - the SecretKey to use for decryption.
        Returns:
        the Decryptor for decryption.