Using base 64 encoding

Added by iNTERFACEWARE

How to encode and decode data as base 64, by using filter.base64.enc{} and filter.base64.dec{}

Source Code
   -- encode string as base64
   local Enc = filter.base64.enc('hello world')
   trace(Enc)
   
   -- decode base64 string
   local Dec = filter.base64.dec(Enc)
   trace(Dec)
Description
How to encode and decode data as base 64, by using filter.base64.enc{} and filter.base64.dec{}