House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Talk (CF-Talk)

Hashing in ColdFusion 9

Author:
Russ Michaels
05/14/2012 09:10 AM

Encrypt(*string*, *key *[, *algorithm*, *encoding*, *IVorSalt*, *iterations*]) On Mon, May 14, 2012 at 1:58 PM, Brian Thornton <Brian@cfdeveloper.com>wrote: > > Docs are at: > > http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7c2f.html > > My client is moving from cf MX to cf 9 and I find this could be handled > better.. > > I am used to a 512 character to be created. > In CF 9 <cfset passwordHash = Encrypt(password,"SHA-512") /> is > generating a 11 character sized text. > > > <cfset passwordHash = Hash(Encrypt(password,"SHA-512")) /> will get me > 512 but is this duplicitous? > >  <cfset password = "myP@ssw0rd" /> > >  <cfset salt = "foo"> >  <cfset passwordHash = Hash(Encrypt(password,"SHA-512")) /> > > Where is the salt handled? > >


Search cf-talk

May 20, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference