lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Sam, I said "pure Lua".
A Lua frontend to a non-Lua program doesn't count.
This shouldn't be hard to understand.

On 10 August 2017 at 13:39, Sam Chang <> wrote:
openssl-seal is a best solution for your requirement.


在 2017年8月10日,05:41,Ricardo Ramos Massaro <> 写道:

On Wed, Aug 9, 2017 at 9:01 AM, Daniel Silverstone
<> wrote:

May help.

Note that this is just plain RSA, which is not very secure[1]. To be
secure, RSA must be used with some padding scheme, which is more
complicated than it sounds (PKCS v1.5 was one such scheme that was
eventually found vulnerable, for example).

When in doubt, one really should prefer existing crypto libraries that
have been checked by people who understand crypto.


- Ricardo