It seems that the SHA-2 algorithm support is still missing. I made quickly an extension (called crypto) where it supports digest and hmac for SHA-256, 384 and 512. It also looks and works like the crypto library used by Corona SDK - I think so it may help those who want to port games from there. I haven’t yet implemented the old hash algorithms such as MD5 and SHA-1 - by now they’re not very secure longer.
6 Likes
Nice! Thank you for sharing!