Base64 encode
Encode text as Base64.
Command in the Hash and encrypt toolkit · id ooa.crypto/base64_encode · 3 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Text | String | Yes | Text to encode. | |
| URL-safe alphabet | Boolean | No | false | Use the URL-safe alphabet (- and _ instead of + and /) without padding. |
| Encoding | String | No | utf-8 | Character encoding used to turn the text into bytes, e.g. utf-8, utf-16le, windows-1252. |
Outputs
| Output | Type | What it is |
|---|---|---|
| result | String | Base64 text. |