Base64 module encodes and decodes Base64 strings. This is a meta module (i.e. it can be called only from another module).
Installation
Usage
- Import
Base64module into your module:local base64 = require('Dev:Base64') - Use
base64.encode()to encode string andbase64.decode()to decode it.
Examples
base64.encode('Hello world!')returnsSGVsbG8gd29ybGQh.base64.decode('SGVsbG8gd29ybGQh')returnsHello world!.
Text above can be found here (edit)