base64 encode and decode with openssl

openssl enc -base64 <<< ‘something to encode’
c29tZXRoaW5nIHRvIGVuY29kZQo=
openssl enc -base64 -d <<< c29tZXRoaW5nIHRvIGVuY29kZQo=
something to encode

Leave a Comment