DOKK / manpages / debian 12 / jose / jose-b64-enc.1.en
JOSE-B64-ENC(1)   JOSE-B64-ENC(1)

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 <npmccallum@redhat.com>

jose-b64-dec(1) <jose-b64-dec.1.adoc>