From: Valerio Schiavoni <valerio.schiavoni@gmail.com>
Subject: Re: lxyssl, aes and rsa questions
To: "Lua list" <lua@bazar2.conectiva.com.br>
Date: Thursday, May 27, 2010, 10:40 PM
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')