# Crypto example miss-typeo

Hadi S. Mettawa (hmettawa@mail.cybg.com)
Mon, 29 Jun 1998 12:47:42 -0400

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Jan Luehe: "Re: Crypto example miss-typeo"
- Previous message: river99@gte.net: "Service Update"
- Next in thread: Jan Luehe: "Re: Crypto example miss-typeo"

    Date: Mon, 29 Jun 1998 12:47:42 -0400

    To: java-security@java.sun.com

    Subject: Crypto example miss-typeo

    From: "Hadi S. Mettawa" <hmettawa@mail.cybg.com>

Hi ;

I was looking at " Diffie-Hellman key exchange between 2 parties"
on line 181 there is
some code that will not build:

for (int i=0; i> 4);
int low = (b & 0x0f);
buf.append(hexChars[high]);
buf.append(hexChars[low]);

Do I have a bad copy of the file doc/guide/API_users_guide.html file
? if so where could I pick the valid file.

Hadi Mettawa
hadi@cyberguard.com

- Next message: Jan Luehe: "Re: Crypto example miss-typeo"
- Previous message: river99@gte.net: "Service Update"
- Next in thread: Jan Luehe: "Re: Crypto example miss-typeo"