Base64

From Chorke Wiki
Revision as of 21:10, 8 May 2024 by Shahed (talk | contribs) (→‎References)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Playground

base64 --version
base64 --help
echo    'academia'|base64
echo -n 'academia'|base64
echo 'YWNhZGVtaWEK'|base64 -d
echo 'YWNhZGVtaWE='|base64 -d

base64    ~/Pictures/academia-logo.png
base64 -d ~/Pictures/academia-logo.b64
base64    ~/Documents/academia-tagline.txt
base64 -d ~/Documents/academia-tagline.b64
echo 'YWNhZGVtaWEK'|base64 --decode
echo 'YWNhZGVtaWE='|base64 --decode

base64    ~/Pictures/academia-logo.png>\
          ~/Pictures/academia-logo.b64
base64 -d ~/Pictures/academia-logo.b64>\
          ~/Pictures/academia-logo.b64.png

References