> I have a need to do the following...
> 
> <quote>
> Create an RFC 2104 compliant HMAC-SHA1 hash on the 
> Action+Timestamp string, using the Secret Access Key as the "key".
> </quote>
> 
> Unfortunately is seems like I can use hash() with the SHA 
> algorithm but not provide a "key", or I can use encrypt() 
> with a key but it doesn't support SHA.
> 
> Any idea how I can achieve this requirement?

This is a little bit more complicated than just using the Hash function:
http://en.wikipedia.org/wiki/HMAC

Frankly, my first thought would be to look for an existing Java solution:
http://www.jcraft.com/jsch/

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

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

Reply via email to