to_base64 Encrypt data to base64 cipher. Params Returns Example Edit fields type description data string Target data for encryption. Edit fields type description encrypted_data string encrypted data Edit local security = require("security") local encrypted_data = security.to_base64( "data for encryption" );