Thanks....Final question at the end of this message:

>
>       You are majorly confused. It is the *encryption* that is failing, not 
> the
> MD5. So why are you looking at the length of the input to the MD5
> function?!

Thanks for the help.  Yes, I was confused.  I thought (or I should say, I
was hoping) that a 64-bit RSA key would operate on a 64 bit chunk of data.

>       Why would the length of the string that is input to the MD5 function
> matter? Do you understand what MD5 is and does?

Yes, I do understand the concept of MD5, better than I understand RSA at
any rate.  I though there might be a bug or something.  But the only bug
here is my understanding of RSA ;-)

>
>       What matters is the numerical value of the data you are trying to sign.
> The
> first 8 bytes of an MD5 signature can vary from 0x0000000000000000 to
> 0xfffffffffffffff. Presumably, your key is somewhere between those two
> values (because that's what a 64-bit key is). So some values will work and
> some won't, which is what you should have expected.
>
>       A 64-bit key will be less than 2^64. An 8-byte excerpt of a checksum can
> be
> as large as 2^64. So some values won't work.

So to clarify: If I generate a 65-bit key, will I be able to use that
65-bit key to sign any 64-bit value?

Thanks very much,
-Jesse

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to