Hello, I have two C functions, one is RC4 which succesfull produce binary data from any text, second is base64 which also works great. The problem occur when I want to combine these two method to gain simple method to convert and save binary data to text using base64.
Usage of program is very simple, you threw some text into it and it's returning encoded and decoded version. Even if it works for very short text like "123" completely fails with longer like "Hello World"
I belive it's not hard to resolve but I have not enought C knowledge to do this. Could you please help ?
http://codepad.org/CrAgF6dU
Thanks for help