-d, --decode
Decode data.
An option of base32x.
Usage
base32x -d [FILE]
base32x --decode [FILE]Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-d | --decode | none | decode data |
Examples
Decode a value you found in a config file or an API response
echox NBSWY3DP | base32x -dhelloTurn that secret back into the key file in a CI job
printfx '%s' "$DEPLOY_KEY" | base32x -d > deploy-key.binDecode text pasted from an email, where line breaks and stray characters crept in
base32x -d -i pasted.txt > attachment.pdfMake sure a round trip gives back the same bytes
base32x file.bin | base32x -d > copy.bin && cksumx file.bin copy.binReject a payload that is not valid base32 before using it
base32x -d payload.txt > /dev/null && echox validHelp in the terminal
gnux help base32x --decode