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.
Name | Description | Default Value | Valid Values | EL | Sensitive |
---|---|---|---|---|---|
Mode | Specifies whether the content should be encrypted or decrypted | Encrypt |
| No | No |
Encryption Algorithm | The Encryption Algorithm to use | MD5_256AES |
| No | No |
Password | The Password to use for encrypting or decrypting the data | No | Yes |
Relationships:
Name | Description |
---|---|
failure | Any FlowFile that cannot be encrypted or decrypted will be routed to failure |
success | Any FlowFile that is successfully encrypted or decrypted will be routed to success |