I was wondering if anyone ever came across a situation where a wallet.dat file was encoded into an image like a .jpg?

I have this wacky idea of taking a wallet.dat file and somehow encoding it into an image. For example, you would like at a painting, but in the lower right corner, there would be a bunch of encoded jibberish out of which one could reconstruct the wallet.dat file?

Did anyone come across something like this before? How would one do this?

I'm wondering how to translate a wallet.dat into some kind of an image.


1 Answer 1


This is called steganography. Invented in Greece two and a half thousand years ago.

Usually, to make the embedded data inconspicuous the embedded data is distributed throughout the whole image as small variations in hue or luminance etc.

People viewing an image would notice an ugly and obvious rectangular patch in a corner. Especially as wallet data might result in noticeable patterns within that patch when interpreted as image data.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.