jose-b64-enc − Encodes binary data to URL−safe Base64
jose b64 enc −I BIN [−o B64]
The jose b64 enc command encodes binary data to URL−safe Base64 format.
• −I FILE, −−binary=FILE : Read binary data from FILE
• −I −, −−binary=− : Read binary data from standard input
• −o FILE, −−base64=FILE : Write Base64 (URL−safe) to FILE
• −o −, −−base64=− : Write Base64 (URL−safe) to standard output
Encode a simple message:
$ echo
"Hello, World" | jose b64 enc −I−
SGVsbG8sIFdvcmxkCg
Nathaniel McCallum <[email protected] [1] >
jose−b64−dec(1) [2]