foundeo / cfdocs

Repository for the cfdocs.org site.

Home Page:https://cfdocs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GenerateSecretKey does not support algorithm CFMX_COMPAT as CFDocs write

Xcrystall opened this issue · comments

In CFDocs generatesecretkey page and in the point about the algorithm values the value "CFMX_COMPAT" is included, which is not correct. Using it it gives an error message "The CFMX_COMPAT algorithm is not supported by the Security Provider you have chosen".

It's also confirmed in the Adobe page

https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-e-g/generatesecretkey.html

where "CFMX_COMPAT" is not included in the algorithm parameters,
and also in the paragraph "Usage" of the same page it clearly says

"You cannot use the GenerateSecretKey function to generate a key for the ColdFusion default encryption algorithm (CFMX_COMPAT..."