local s = crypt.base64encode("hello world") print("enc", s, #s) local ok, d = pcall(crypt.base64decode, s) print("dec", ok, type(d), tostring(d), ok and #d or -1) local e = crypt.encrypt("hello", "key") print("e", type(e), #tostring(e), tostring(e)) print("d", tostring(crypt.decrypt(e, "key")))