lua-users home
lua-l archive

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


Hi,


On Thu, May 27, 2010 at 4:25 PM, gary ng <garyng2000@yahoo.com> wrote:
oh, for rsa, it is using an embedded test key by default(mainly for testing purpose). you need to create your own.

do you have an example of how to this, or at least how the key is expected to be like (which format) ?


thanks alot
valerio

 



RSA-question)
the code snippet shows some RSA related code:
a=lxyssl.rsasign('abc')
assert(lxyssl.rsaverify('abc', a))
a=lxyssl.rsaencrypt('abc')
assert(lxyssl.rsadecrypt(a)=='abc')