# crypto/b64-encode
Encode a string into standard base64 (with padding).
## Syntax
[crypto/b64-encode $data]
## Parameters
- `$data` — String to encode
## Examples
[crypto/b64-encode "hello"] # aGVsbG8= [crypto/b64-encode $payload]
## Returns
Standard base64 string.
## See Also
`crypto/b64-decode`, `crypto/hex-encode`, `crypto/hex-decode`