No, SHA algorithms can use any value for the key, that is one of their benefits. Also, generateSecretKey() won't take any of the SHA algorithms as an argument anyway.
On 8/2/07, Doug Bezona <[EMAIL PROTECTED]> wrote: > > Are you using GenerateSecretKey() to create the key? > > On 8/2/07, Brian Kotek <[EMAIL PROTECTED]> wrote: > > > > No I tried that too. If you look back at the docs you'll see there are > > SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512, and then there is another > > set > > that is the same but uses the prefix HMAC-SHAx, like HMAC-SHA1, etc. > I've > > tried all of them and none work, and also tried variations such as not > > including the dash. Anyone else should be able to duplicate the error by > > just trying to run: > > > > #Encrypt('some text here', 'secretkeytext', 'HMAC-SHA1')# > > > > Thanks Tom, any other ideas? > > > > Brian > > > > On 8/2/07, Tom Chiverton <[EMAIL PROTECTED]> wrote: > > > > > > On Thursday 02 Aug 2007, [EMAIL PROTECTED] wrote: > > > > The HMACSHA1 algorithm is not supported by the Security Provider > you > > > have > > > > chosen. > > > > Code looks like: > > > > #Encrypt(targetString, key, 'HMACSHA1')# > > > > > > The doc's say the type string is 'HMAC-SHA1'. Does that work ? > > > > > > -- > > > Tom Chiverton > > > > > > **************************************************** > > > > > > This email is sent for and on behalf of Halliwells LLP. > > > > > > Halliwells LLP is a limited liability partnership registered in > England > > > and Wales under registered number OC307980 whose registered office > > address > > > is at St James's Court Brown Street Manchester M2 2JF. A list of > > members is > > > available for inspection at the registered office. Any reference to a > > > partner in relation to Halliwells LLP means a member of Halliwells > LLP. > > > Regulated by the Law Society. > > > > > > CONFIDENTIALITY > > > > > > This email is intended only for the use of the addressee named above > and > > > may be confidential or legally privileged. If you are not the > addressee > > you > > > must not read it and must not use any information contained in nor > copy > > it > > > nor inform any person other than Halliwells LLP or the addressee of > its > > > existence or contents. If you have received this email in error > please > > > delete it and notify Halliwells LLP IT Department on 0870 365 8008. > > > > > > For more information about Halliwells LLP visit www.halliwells.com. > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285266 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4