# Re: Crypto example miss-typeo

Jan Luehe (Jan.Luehe@Eng)
Mon, 29 Jun 1998 11:20:03 -0700 (PDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Andrey Karii: "need help for using RSA"
- Previous message: Hadi S. Mettawa: "Crypto example miss-typeo"
- Maybe in reply to: Hadi S. Mettawa: "Crypto example miss-typeo"

    Date: Mon, 29 Jun 1998 11:20:03 -0700 (PDT)

    From: Jan Luehe <Jan.Luehe@Eng>

    Subject: Re: Crypto example miss-typeo

    To: java-security@java0.javasoft.com, hmettawa@mail.cybg.com

Hadi:

> 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.

You have to open the doc file as a regular text file and
copy the code from there.

In the upcoming beta release of JCE1.2, you will be able
to cut-and-paste the sample programs from the browser.

Jan

- Next message: Andrey Karii: "need help for using RSA"
- Previous message: Hadi S. Mettawa: "Crypto example miss-typeo"
- Maybe in reply to: Hadi S. Mettawa: "Crypto example miss-typeo"