Use OpenSSL for Base64 encode and decode
Thu, Jul 24 2003 at 10:30AM PDT • Contributed by: Anonymous
Thu, Jul 24 2003 at 10:30AM PDT • Contributed by: Anonymous
With reference to the Archive attachments from Mail.app messages hint, we can use OpenSSL to convert a specific Mail attachment from Base64 and back using the following command(s):
To decode from Base64:
openssl base64 -d -in <infile> -out <outfile>
Conversely, to encode to Base64:
openssl base64 -in <infile> -out <outfile>
Where infile refers to the input filename (source) and outfile refers to the output filename (destination). Refer to man enc for more detailed information on using OpenSSL commands.
•
[11,767 views]
