


Base64 can be used to transmit and store text that might otherwise cause delimiter collisionĢ. Use the given below command to decode The same string with echo "TXlwZXJzMG5hbGJsMGdAc2hAcmFkY2hoM3RyMS5jb00K" |openssl base64 of base64ĭisclaimer:The given below information source is taken from Wikipedia.ġ. Use the given below command to encode the string with echo The Same String With base64 We are using a string called The String With base64 Now the command should be run in given below format.įor eg.

Note: In Ubuntu 16.04 LTS or above Operating system you can replace the command with apt-get to apt only. Encode and Decode strings with base64 in linux/unix systemįirst install the openssl in your linux system. Base64 is commonly used in a number of applications including email via MIME, and storing complex data in XML. This is to ensure that the data remain intact without modification during transport. The Base64 term originates from a specific MIME content transfer encoding.īase64 encoding schemes are commonly used when there is a need to encode binary data that need to be stored and transferred over media that are designed to deal with textual data. Introductionīase64 is a group of similar encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation. We will also see some example on this as well. In this post we will learn how to encode and decode the strings with base64.
