Using AES encryption

Added by iNTERFACEWARE

How to encode and decode strings with AES, using filter.aes.enc{} and filter.aes.dec{}

Source Code
-- encode string using aes
local Enc = filter.aes.enc{data='hello world',key='this is a 32 byte shared aes key'}
trace(Enc)
   
-- decode aes encrypted string
local Dec = filter.aes.dec{data=Enc,key='this is a 32 byte shared aes key'}
trace(Dec)
Description
How to encode and decode strings with AES, using filter.aes.enc{} and filter.aes.dec{}