Support for SHA256

49 views
Skip to first unread message

David Santhosh

unread,
Jun 16, 2015, 5:36:50 PM6/16/15
to openre...@googlegroups.com
Any workarounds to get SHA256 with the current version of Openresty?

http://wiki.nginx.org/HttpLuaModule#ngx.sha1_bin


Patrick Kane

unread,
Jun 16, 2015, 5:51:59 PM6/16/15
to openre...@googlegroups.com

On Tue, Jun 16, 2015 at 2:36 PM, David Santhosh <davi...@gmail.com> wrote:
Any workarounds to get SHA256 with the current version of Openresty?

http://wiki.nginx.org/HttpLuaModule#ngx.sha1_bin


--
You received this message because you are subscribed to the Google Groups "openresty-en" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openresty-en...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Patrick Michael Kane
We Also Walk Dogs
<p...@wawd.com>

davidsnt

unread,
Jun 16, 2015, 5:56:46 PM6/16/15
to openre...@googlegroups.com
Thank you!

--David

Aapo Talvensaari

unread,
Jun 17, 2015, 9:34:27 AM6/17/15
to openre...@googlegroups.com
On Wednesday, 17 June 2015 00:51:59 UTC+3, Patrick Kane wrote:

On Tue, Jun 16, 2015 at 2:36 PM, David Santhosh <davi...@gmail.com> wrote:
Any workarounds to get SHA256 with the current version of Openresty?

http://wiki.nginx.org/HttpLuaModule#ngx.sha1_bin

If you need more primitives, you can either ffi-bind to OpenSSL functions or you may look at this:

It has all the bindings to Nettle Library's symmetric functions plus some additional stuff, and some preliminary support for RSA as well, see:


Regards
Aapo
Reply all
Reply to author
Forward
0 new messages