Programming in the Stone Age: SHA-1 and HMAC-SHA1 in Pure Lua
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.


All 2 comments so far, oldest first...

Do you feel dirty after coding for Twitter?

— comment by Zachary on June 3rd, 2009 at 7:12am JST (8 years, 4 months ago) comment permalink

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

— comment by Phil on June 23rd, 2016 at 3:49am JST (1 year, 3 months ago) comment permalink
Leave a comment...


All comments are invisible to others until Jeffrey approves them.

Please mention what part of the world you're writing from, if you don't mind. It's always interesting to see where people are visiting from.


You can use basic HTML; be sure to close tags properly.

Subscribe without commenting