crypt.base64encode
Encodes a string with Base64 encoding.
function crypt.base64encode(data: string): string
Parameters
data
- The data to encode.
Example
print(crypt.base64encode("DummyString\0\2")) -- Output: RHVtbXlTdHJpbmcAAg==
Last updated