Interface CryptorFactory

    • Method Detail

      • newEncryptorUnsafe

        Encryptor newEncryptorUnsafe​(Key encryptionKey)
        Please use typesafe newDecryptor method instead to avoid mistakes (passing wrong Key).
        Parameters:
        encryptionKey - the Key to use for encryption.
        Returns:
        the Encryptor for encryption.
      • newDecryptorUnsafe

        Decryptor newDecryptorUnsafe​(Key decryptionKey)
        Please use typesafe newEncryptor method instead to avoid mistakes (passing wrong Key).
        Parameters:
        decryptionKey - the Key to use for decryption.
        Returns:
        the Decryptor for decryption.