rust-basenc1
Encode/decode data and print to standard output with no file, or when file is -, read standard input. when decoding, the input may contain newlines in addition to the bytes of the formal alphabet. use --ignore-garbage to attempt to recover from any other non-alphabet bytes in the encoded stream.
Usage
basenc [{-d | --decode}]
[{-i | --ignore-garbage}]
[{-w | --wrap}]
[--base64]
[--base64url]
[--base32]
[--base32hex]
[--base16]
[--base2lsbf]
[--base2msbf]
[--z85]
[{-h | --help}]
[{-V | --version}]
[file]
Overview
Encode/decode data and print to standard output With no FILE, or when FILE is -, read standard input.
When decoding, the input may contain newlines in addition to the bytes of the formal alphabet. Use --ignore-garbage to attempt to recover from any other non-alphabet bytes in the encoded stream.
Options
-
-d, --decode -
decode data
-
-i, --ignore-garbage -
when decoding, ignore non-alphabetic characters
-
-w, --wrap=COLS -
wrap encoded lines after COLS character (default 76, 0 to disable wrapping)
-
--base64 -
same as 'base64' program
-
--base64url -
file- and url-safe base64
-
--base32 -
same as 'base32' program
-
--base32hex -
extended hex alphabet base32
-
--base16 -
hex encoding
-
--base2lsbf -
bit string with least significant bit (lsb) first
-
--base2msbf -
bit string with most significant bit (msb) first
-
--z85 -
ascii85-like encoding; when encoding, input length must be a multiple of 4; when decoding, input length must be a multiple of 5
-
-h, --help -
Print help
-
-V, --version -
Print version
- [file]
Version
v0.0.30