Description:

Encrypts or Decrypts a FlowFile using a randomly generated salt

Tags: encryption, decryption, password, JCE

Properties:

In the list below, the names of required properties appear in bold. Anyother properties (not in bold) are considered optional. The table also indicates any default values, whether a property supports the NiFi Expression Language (or simply EL), and whether a property is considered "sensitive", meaning that its value will be encrypted. Before entering a value in a sensitive property, ensure that the nifi.properties file has an entry for the property nifi.sensitive.props.key.

NameDescriptionDefault ValueValid ValuesELSensitive
ModeSpecifies whether the content should be encrypted or decryptedEncrypt
  • Encrypt
  • Decrypt
NoNo
Encryption AlgorithmThe Encryption Algorithm to useMD5_256AES
  • MD5_128AES
  • MD5_256AES
  • SHA1_RC2
  • SHA1_DES
  • MD5_192AES
  • MD5_DES
  • MD5_RC2
  • SHA_192AES
  • SHA_40RC4
  • SHA256_128AES
  • SHA_128RC2
  • SHA_128AES
  • SHA256_192AES
  • SHA_2KEYTRIPLEDES
  • SHA256_256AES
  • SHA_40RC2
  • SHA_256AES
  • SHA_3KEYTRIPLEDES
  • SHA_TWOFISH
  • SHA_128RC4
NoNo
PasswordThe Password to use for encrypting or decrypting the dataNoYes

Relationships:

NameDescription
failureAny FlowFile that cannot be encrypted or decrypted will be routed to failure
successAny FlowFile that is successfully encrypted or decrypted will be routed to success