NiFi Legacy
The first 8 or 16 bytes of the input are the salt. The salt length is determined
based on the selected algorithm's cipher block length. If the cipher block size
cannot be determined (such as with a stream cipher like RC4
), the
default value of 8 bytes is used. On decryption, the salt is read in and combined with
the password to derive the encryption key and IV.