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".
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..."