Encrypts binary data using a specific algorithm and encoding method.
encryptbinary(any bytes,string key,[string algorithm,[any IVorSalt,[number iterations]]]):any
The arguments for this function are set. You can not use other arguments except the following ones.
|bytes||any||Yes||Binary data to encrypt.|
Key or seed used to encrypt the string.
The algorithm to use to decrypt the string. Must be the same as the algorithm used to encrypt the string.
You may also specify other algorithm names as well as the feedback mode and padding scheme where applicable (in the format algorithm/mode/padding) as documented in the Java Cryptography Architecture (JCA) Reference Guide.
|IVorSalt||any||No||Initialization Vector for algorithms with Feedback Mode that is not ECB, or Salt for Password Based Encryption algorithms|
|iterations||number||No||number of Iterations for Password Based Encryption algorithms (ignored for all other algorithms). NIST recommends a minimum value of 1000.|