>- see footer for list info -< CFDeveloper runs the enterprise edition of CF8, so should have all the encryption options listed in the docs.
Russ -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of rex Sent: 05 August 2009 16:21 To: Coldfusion Development Subject: Re: [CF-Dev] encrypt() with SHA1 algorithm >- see footer for list info -< To use Amazon Web Services, I needed to encrypt a string with a key based on http://www.ietf.org/rfc/rfc2104.txt I found a function to do so in one of the AWS projects on riaforge.org, and I guess I'll use that. I was wondering why it was on the encrypt() docs, but it doesn't work. Thanks anyway! Allan Cliff wrote: >> - see footer for list info -< >> > I have used the Hash function with SHA1 on Enterprise CF8 and that worked fine > > Hash("#myvar#","SHA1") > > but not the encrypt. > I always used the cf_encrypt function from the olden days > > --- On Tue, 4/8/09, rex <[email protected]> wrote: > > From: rex <[email protected]> > Subject: [CF-Dev] encrypt() with SHA1 algorithm > To: "Coldfusion Development" <[email protected]> > Date: Tuesday, 4 August, 2009, 8:28 PM > > >> - see footer for list info -< >> > Hi everyone, > > Has anyone used the encrypt function but used the "Enterprise Edition" algorithms? The livedocs at > http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_ e-g_01.html#1104201 <http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions _e-g_01.html#1104201> > say that the "Enterprise Edition of ColdFusion installs the RSA BSafe Crypto-J library, which provides FIPS-140 Compliant Strong Cryptography" and lists the algorithms, and includes SHA-1. > > I have CF8 Enterprise Ed, and heres the code: > > <cfoutput>#encrypt("hello", "key", "SHA1")#</cfoutput> > > It gives me "The SHA1 algorithm is not supported by the Security Provider you have chosen." > > I saw this old thread on HOF http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:52757, but it's a dead end. > > Has anyone got the encrypt() function to work? > _______________________________________________ > > For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo > > -- > CFDeveloper Sponsors:- > >> - cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >> - Lists hosted by www.Gradwell.com -< >> - CFdeveloper is run by Russ Michaels, feel free to volunteer your help -< >> > > > > > _______________________________________________ > > For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo > > -- > CFDeveloper Sponsors:- > >> - cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >> - Lists hosted by www.Gradwell.com -< >> - CFdeveloper is run by Russ Michaels, feel free to volunteer your help -< >> > > _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -< _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
