Hello Guys,

 

For a while I've been wondering about the HASH() function and the different
algorithms available on it, the cfdocs list the following.

 

..         CFMX_COMPAT: Generates a hash string identical to that generated
by ColdFusion MX and ColdFusion MX 6.1 (default). 

..         MD5: (Default) Generates a 32-character, hexadecimal string, using
the MD5 algorithm (The algorithm used in ColdFusion MX and prior releases). 

..         SHA: Generates a 28-character string using the Secure Hash
Standard SHA-1 algorithm specified by Nation Institute of Standards and
Technology (NIST) FIPS-180-2. 

..         SHA-256: Generates a 44-character string using the SHA-256
algorithm specified by FIPS-180-2. 

..         SHA-384: Generates a 64-character string using the SHA-384
algorithm specified by FIPS-180-2. 

..         SHA-512: Generates an 88-character string using the SHA-1
algorithm specified by FIPS-180-2. 

 

Presumably they become more complex, and therefore more secure from top to
bottom, so why would you not specify the SHA-512 on all hash encryption you
do, I know that hash is generally regarded as a one way encryption so why do
they do different levels?

 

I'd be interested to hear if anyone knows much about this stuff,

 

Rob 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271979
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to