Hello Everyone,
I have a problem with sending encrypted emails. Pseudo-code is below...
Send Side
Encrypt Message
Base64 Encode Message
Chunk Split Message
Send Message
Receive Side
Strip "\r\n" From Message Using strtok
Base64 Decode Message
Decrypt Message
After I strip "\r\n" on the receive side, echo displays the same printable characters. However when I run md5 and hash the resultant stripped string vs the original base64 encoded message, the two hashes do not match. I'm guessing there are embedded control characters inside which were introduced somehow. Anyone have any ideas?
Thanks,
Tom Tang