Nova Cadian avatar

base64 encryption explained

novacadian

Published: 21 May 2020 › Updated: 21 May 2020base64 encryption explained

base64 encryption explained

As you probably know, the SteemIt stores the images on AWS cloud servers. This is different from the texts (post content), which are stored in block-chain (e.g. lots of peer-to-peer nodes storing duplicate and immutable) contents.

Source

You may find a recent post of mine a little concerning. Perhaps HIVE and STEEM witnesses should be. What the post contains is a base64 encryption of a photograph. The encrypted image resides on the blockchain. A copy will be on every witness server as we speak.

How was such a images encrypted?

Allow me to explain how it would be done under Linux, although it is able to be done on all Windoze boxes as well.

Coverting binary image to base64 and writing results to output.txt:

Let's take as an example an images of an anaconda. The following command will create the base64 encryption of the photograph and place it in the text file output.txt.

$base64 anaconda_PNG15.png > output.txt

Decoding the contents of output.txt and printing it to an image format:

$base64 -d output.txt > anaconda_PNG15_2.png

You will want to know the file extension of the encrypted photograph. In the example photograph in my post you will need to use the extension png JPEG.

There will be a 100 STEEM token reward (sorry trading all my HIVE for Monero at the moment) for the first user to post the decrypted photograph from my post to the comments of this post, below.

Happy decrypting!

Thank ya! Thank ya very much!

elvis.jpg

Leave base64 encryption explained to:

Written by

Father, programmer and blockchain advocate.

Read more #photography posts


Best Posts From Nova Cadian

We have not curated any of novacadian's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Nova Cadian