lua-users home
lua-l archive

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

I'm guessing that box.lua (and what it requires) is the asymmetric encryption algorithm, but where is the documentation?
It uses an unusual set of jargon, doesn't say how it should be used, and doesn't say anything about itself.

From what I can gather, it's hardcoded to generate 256 bit keys; so unless this blows RSA out of the water in terms of efficiency, it's either going to be too insecure to protect the small amount of sensitive data or too slow to protect the large amount of less-sensitive data.

On 13 August 2017 at 09:42, Pierre Chapuis <> wrote:
On Wed, Aug 9, 2017, at 10:32, Xazo -Tak wrote:
> I don't know nearly enough about cryptography or Lua to turn that into something working.

Not having that in pure Lua bothered me,  so I ended up implementing it.

You can find the result here for now:

I submitted a pull request to have it merged into upstream PLC.

Pierre Chapuis