I am writing to/reading from a file. Opening the file in binary mode seems
to have done the trick. Thanks!
On Wed, Oct 30, 2013 at 9:30 PM, Dave Thompson wrote:
> First, what do you mean by string? I assume you realize that raw
> RSA-encrypted values
>
> (and other modern algorithms like
First, what do you mean by string? I assume you realize that raw
RSA-encrypted values
(and other modern algorithms like AES and RC4 also) are binary data which
can contain
zero bytes and thus are not C strings; strlen() etc. won't work right. This
would cause
trouble on all platforms, but onl