Cipher: AES/256/CBC/PKCS7Padding with random generated salt
Requirements: openssl package
Installation via luarocks package manager:
luarocks install aes_everywhere
local AES256 = require("aes_everywhere")
-- encryption
local enc = AES256.encrypt('TEXT', 'PASSWORD')
-- decryption
local dec = AES256.decrypt('ENCRYPTED', 'PASSWORD')