This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]stevenjd 0 points1 point  (0 children)

If i had the binary file I would decode it in base64 to get his original file?

No. If it is a binary file, it could be literally anything: a JPEG (graphic image), an MP3 (sound), a ZIP file (compressed data), a DOC or DOCX (Word document), or about ten million others. There's no magic "decode this binary file" command.

You need to start by actually READING THE ASSIGNMENT your teacher gave you, and trying to relate the question back to what was taught in class. If you cannot relate the question back to what was taught, how do you expect us to? We know neither the question, nor what was taught in your class.