AES-1.0

AES-1.0

Original project: http://luaforge.net/projects/aeslua/
aeslua: Lua AES implementation
Copyright (c) 2006,2007 Matthias Hilbig (hilbig@upb.de)

This is a LibStub port of aeslua designed to work for World of Warcraft.

Usage
-----------
local AES = LibStub("AES-1.0");
local encrypted = AES:encrypt("test","test data", AES256, ECBMODE);
print(encrypted);
local decrypted = AES:decrypt("test",encrypted, AES256, ECBMODE);
print(decrypted);

If no key length or mode are specified it will default to AES128 in CBCMODE.
If the decryption fails, the decrypted text will be nil.

You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
11 Nov 2008
Category
Last update
11 Nov 2008
Development stage
Release
Language
  • enUS
License
GNU Lesser General Public License version 2.1 (LGPLv2.1)
Curse link
AES-1.0
Recent file
  • R: AES-1.0 for 3.0.3 on 11 Nov 2008

Authors