encode
Convert inline text or files between base64, hex, URL, and HTML formats, hash with md5/sha256, generate UUIDs or random bytes, decode JWTs, and convert epoch timestamps to ISO.
Instructions
Small conversions: base64/hex/url/html encode and decode, hash (md5/sha1/sha256/sha512), uuid, random bytes, jwt_decode (header and payload — signature is NOT verified), timestamp (epoch <-> ISO). Reads inline text or a file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Read the input from this file instead of "text". | |
| text | No | Input text. For timestamp: an epoch number or an ISO string. | |
| count | No | uuid: how many. random: how many bytes. Default 1 / 32. | |
| action | Yes | Which conversion. | |
| encoding | No | random: output encoding. Default hex. | |
| algorithm | No | hash: digest. Default sha256. | |
| max_bytes | No | Byte cap on returned output. |