Base64 talk encrypted

Base64 talk encrypted

Hi all, why most of computer engineers choose Linux as their preferred os. Friends we get lot of advantages here like we can talk encrypted

For encryption
$ echo -n hi | base64
output: aGk=
For decryption
echo -n aGk= | base64 -d
output: hi

Not only this you can also encrypt image with the following command
$ echo -n $(cat image.jpg) | base64 > inputfile
To decrypt use
$ echo -n $(cat inputfile) | base64 -d



Leave a Reply

Your email address will not be published. Required fields are marked *