Encode/Decode text to/from Base64 on a Mac

by bram

encode:
$ openssl base64 -in base64.decoded.txt -out base64.encoded.txt

decode:
$ openssl base64 -d -in base64.encoded.txt -out base64.decoded.txt