NOTE: Images with an icon next to them have been artificially shrunk to better fit your screen; click the icon to restore them, in place, to their regular size.
I've coded up SHA-1 Secure Hash computation and HMAC-SHA1 secure signature computation in pure Lua and thought I'd share them in case anyone else would find them useful. The download is over on my so-inventively-named “SHA-1 and HMAC-SHA1 in pure Lua” page.
Lua is a horrid language, so these were not trivial, but I needed them for the Twitter support I just added to some of my plugins for Adobe Lightroom (I added Twitter support to: Zenfolio, Flickr, Facebook, SmugMug, and Picasa Web). I hope someone else can get some use out of the result.
Leave a comment...
Do you feel dirty after coding for Twitter?
Two comments.
Why doesn’t Adobe add a support for a second, easier scripting language?
SHA-1 usage is being phased out. https://blog.qualys.com/ssllabs/2014/09/09/sha1-deprecation-what-you-need-to-know
Phil