I am trying to get a hash of MD5 value in ColdFusion. I tried this code using Encrypt function 1 :
<cfscript> val = 1117; md5 = Encrypt(val, 0, "MD5", "Hex"); </cfscript>
But I get an error message:
The MD5 algorithm is not supported by the security provider that you selected.
How to choose another security provider?
1 Yes, I know that MD5 is not an encryption algorithm, but ColdFusion people do not seem to know this because they list it as a supported algorithm for the encryption function. Edit : I did not see the built -in Hash function , but I saw that encryption lists md5 and sha as supposedly supported algorithms, so I thought (it turns out wrong) that this is how you got the hash in CF.
security coldfusion hash md5
Kip
source share