Lucee Function Reference
decryptbinary()
Decrypts the given binary with the optional parameters
Beispiel
decryptbinary(any binaryData,string key,[string algorithm,[any IVorSalt,[number iterations,[boolean precise]]]]):any
Kategorie
binary
Argumente
Die Argumente für diese Funktion sind fest vorgegeben. Ausser den nachfolgenden Argumenten dürfen keine weiteren verwendet werden.
Name | Typ | Required | Default Value | Beschreibung |
---|---|---|---|---|
binaryData | any | Yes | Binary data to decrypt. | |
key | string | Yes |
Key or seed used to encrypt the string. |
|
algorithm | string | No | cfmx_compat |
The algorithm to use to decrypt the string. Must be the same as the algorithm used to encrypt the string. |
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. | |
precise | boolean | No | false | if set to true the input must follow the rule for that encoding a 100%, the decryptor will not try to interpret inputs that are not a 100% correct. This should be used to avoid false positives. |