local security = require("security")
local cipher = { 
    type = "aes", 
    key = "StringKeyStringK", 
    mode = "ofb"
} --string key (size 16 bytes) and empty initialization vector
local encrypted_data = security.encrypt( cipher, "data for encryption" )