[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: public key or asymmetric cryptography library
- From: Iwan Budi Kusnanto <ibk@...>
- Date: Sat, 4 Jun 2016 16:38:27 +0700
Hi,
Thanks for all the responses, didn't expect to get so many responses :).
For now i am using https://github.com/doujiang24/lua-resty-rsa for my
purpose (i.e. encrypt using public key and decrypt using private key).
I need to modify it to be able to run not inside nginx environment, it
is only a small modification about luajit ffi usage.
I am more than happy to publish my modification if someone need it.
Any comment about lua-resty-rsa library? The developer still marked it
as experimental.
On Fri, Jun 3, 2016 at 10:55 PM, Michal Kottman
<michal.kottman@gmail.com> wrote:
>
> Probably what you are looking for is the high-level 'Sign/Open' API [1] from
> OpenSSL, example of which is in [2]. Note that this does not give you access
> to the low-level RSA algorithm.
Thanks Michal, i will check it.
>
> [1] https://www.openssl.org/docs/manmaster/crypto/EVP_SealInit.html
> [2] https://github.com/mkottman/luacrypto/blob/master/tests/open_seal.lua
--
Iwan Budi Kusnanto