agentzh/lua-resty-string — pull request #3 by chase (2012-04-25 00:44:53+00:00)
Title: Add Random String Generator, AES Encryption/Decryption, and Fix string.lua Typo

This pull request has three components:
1. A new pseudo-random and cryptographically-strong string generation module OpenSSL
2. A new AES encryption and decryption module using OpenSSL
3. The removal of local mt = { __index = resty.sha1 } from string.lua

The purpose of the first two components are self-explaining.
The purpose of the third component is to reduce unnecessary code. local mt is never used, as string.lua is not used as an object/class.

Tests provided for AES encryption and decryption.