Base64: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:


| valign="top" |
| valign="top" |
  echo    "academia"|base64
  echo    'academia'|base64
  echo -n "academia"|base64
  echo -n 'academia'|base64


| valign="top" |
| valign="top" |
  echo "YWNhZGVtaWEK" | base64 -d
  echo 'YWNhZGVtaWEK'|base64 -d
  echo "YWNhZGVtaWE=" | base64 -d
  echo 'YWNhZGVtaWE='|base64 -d


|-
|-
Line 18: Line 18:
|-
|-
| valign="top" |
| valign="top" |
base64    ~/Pictures/academia-logo.png
base64 -d ~/Pictures/academia-logo.b64


| valign="top" |
| valign="top" |
base64    ~/Documents/academia-tagline.txt
base64 -d ~/Documents/academia-tagline.b64


| valign="top" |
| valign="top" |
echo 'YWNhZGVtaWEK'|base64 --decode
echo 'YWNhZGVtaWE='|base64 --decode


echo "YWNhZGVtaWEK" | 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" |


|}
|}
Line 33: Line 50:
* [[Base36 Encoding and Decoding]]
* [[Base36 Encoding and Decoding]]
* [[Base62]]
* [[Base62]]
* [[Jasypt]]


| valign="top" |
| valign="top" |

Latest revision as of 21:10, 8 May 2024

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