[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Encrypt in Javascript and Decrypt in Lua
- From: Michal Kottman <k0mpjut0r@...>
- Date: Fri, 13 Aug 2010 11:21:56 +0200
> I need to encrypt it using AES and RSA. My server is in Lua and
> it have to decrypt the client's ciphertexts for communicate. But I haven't
> found any libs which permit to do that.
You can try my modified version of LuaCrypto at
http://github.com/mkottman/luacrypto which enables encryption and
decryption using OpenSSL libraries. The reference is available at
http://mkottman.github.com/luacrypto/manual.html#reference
In order to see what ciphers are available, do the following:
require 'crypto'
for i, c in ipairs(crypto.list('ciphers')) do
print(c)
end