Base64: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 28: Line 28:
  echo 'YWNhZGVtaWEK'|base64 --decode
  echo 'YWNhZGVtaWEK'|base64 --decode
  echo 'YWNhZGVtaWE='|base64 --decode
  echo 'YWNhZGVtaWE='|base64 --decode
|-
| colspan="3" |
----
|-
| valign="top" |
base64    ~/Pictures/academia-logo.png>\
          ~/Pictures/academia-logo.b64
| valign="top" |
base64 -d ~/Pictures/academia-logo.b64>\
          ~/Pictures/academia-logo.b64.png
| valign="top" |


|}
|}

Revision as of 01:57, 17 December 2023

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