NASM - The Netwide Assembler

NASM Forum => Programming with NASM => Topic started by: acer_f on December 11, 2017, 08:20:34 PM

Title: Assembly programms from binary into base64
Post by: acer_f on December 11, 2017, 08:20:34 PM
Hello everyone.. Im a beginner with Assembly programming language, I need to write two Assembly programms which encodes binary into base64 and decodes base64 into binary. The input will be read from standard input, and the only use of C functions are printf() and scanf().

I spend a lot of time searching, but I didn't found something that could help me. I would appreciate, if someone can help me.

Thank you.
Title: Re: Assembly programms from binary into base64
Post by: Frank Kotler on December 11, 2017, 10:46:28 PM
Ahhhh... Welcome to the Forum.

There was some discussion of this - some time ago - on news:comp/lang/asm/x86 . There was a return to the subject somewhat more recently:

http://comp.lang.asm.x86.narkive.com/l40vZjwB/base64-again

This was interested in making it insanely short, not easy to understand, and may not be suitable for a beginner. The above link is incomplete but might give you something to start searching from. You might get some advice by asking there. Be aware that it is a moderated newsgroup, so there will be a delay before your post appears.

I'll see if I can find anything from back in the day, but don't count on it.

Best,
Frank

Title: Re: Assembly programms from binary into base64
Post by: Frank Kotler on December 12, 2017, 10:48:21 PM
If you haven't seen it, this may help:

https://stackoverflow.com/questions/47755183/nasm-linux-x64-encode-binary-to-base64

Best,
Frank