Re: Question

From: Rick H Wesson (wessorh@ar.com)
Date: Fri Feb 04 2000 - 14:40:49 EST


In my java implementation I write 16 bytes and it works.

md5=37:0E:E3:BA:1C:32:4F:16:9B:DD:E3:22:06:48:72:41
hash of challenge 37:0E:E3:BA:1C:32:4F:16:9B:DD:E3:22:06:48:72:41
hash of enc challenge: 05:54:DD:F0:35:12:FE:16:AA:AD:B2:28:A7:6C:34:CA
key=05:54:DD:F0:35:12:FE:16
iv=AA:AD:B2:28:A7:6C:34:CA
 want to read 128 bytes.
 Reading cyphertext text 128 bytes.
sending: D4:32:A6:36:9A:F7:3F:1E:55:6C:89:BD:59:DE:72:B3
 Writing cyphertext 16 bytes.
                    ^^^^^^^^^^^
 want to read 32 bytes.
 Reading cyphertext text 32 bytes.
200 Authentication Successful

-rick

On Fri, 4 Feb 2000, bleachboy wrote:

>
> Okay, my C API is coming along (when I get a free second to work on it!) but
> my problem is this: The response that I send to the server (the encrypted
> MD5 hash of the decrypted second challenge) is 16 bytes, but the Perl script
> always sends a 24 byte response! In fact looking at the perl script, the
> response grows from 16 to 24 bytes during the CBC encryption. Anyone have
> any ideas why this is? I am not a cryptography expert.
>
> ----------------------------------------------------
> bleachboy bboy at bboy dot net +1 (615) 260-4931
>



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:35:18 EDT