2 examples for base64

{{ score }}
  # Encodes file to base 64 and outputs result to stdout:
base64 img.png
# Decodes from base64 encoded file and outputs to stdout:
base64 -d encoded.txt
# or to, for example, png file:
base64 -d encoded.txt > decoded.png
        
{{ score }}
  # Encode some text to base64
echo -n "Text to encode" | base64