Hi,
I am using GemXpressoRAD toolkit which has Non-JCE Cryptix(cryptog.jar).

I am facing strange problems when I am trying to use that library for
encryption/decryption.

I have a sample plain text:              byte
pt[]={0x0,0x12,0x0,0x0,0x0,0x0,0x0,0x0};

My Keys for DES and TripleDES are

    DES Key:      byte key[]={0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08};

TripleDES key:
byte
key[]={0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x11,0x12,0x13,0x14,0x15,
0x16,0x17,0x18,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08};

Now I am getting these results with Cryptog.jar(non-JCE):

DES:               EncryptedValue: 8B7172491C59C4B0
TripleDES :     EncryptedValue: 8B7172491C59C4B0

Output is same for both DES and TripleDES

Other JCE compatable Library results(CryptixJCE and SunJCE)
=======================
DES :          Encrypted Data: 9A9FE27BF0594CE9
TripleDES:   Encrypted Data: 6F1B8F5EF24125FC

And Encrypted text is not same  with Cryptog and other Providers.

What could be the problem?

Thank in advance.

regards,
Bharavi















----- Original Message -----
From: "Mohammed SADIQ" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 10:30 AM
Subject: RE: [OCF] GPK PILOT


> If the menus are complex, please use the APDU dispatcher and exchange
APDUs with the cards. The commands are very clearly mentioned in the card
reference manual.
>
> By the way, there is a menu item for 'erase' command. I didn't get what
you mean by card reset. If you are referring to the session, yes, there is a
menu item for that too.
>
> Good Day
>
> ----------
> Be ashamed to die until you have won some victory for humanity.
> - Horrace Mann(1796-1859)
>
>
> >-----Original Message-----
> >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> >Sent: Monday, April 19, 1999 6:58 PM
> >To: [EMAIL PROTECTED]
> >Subject: [OCF] GPK PILOT
> >
> >
> >Hi all,
> >
> >We are very interested in developing multiapplication smartcards,
> >we have tried the GPK and MPCOS cards with the GPK pilot
> >and we have found the mechanisms very confuse to use there are
> >menus, windows, keys, codes in excess and many incompatible and not
> >supported functions for a practical use of the smartcards globally.
> >
> >And we have not found simple instructions to reset the card,
> >erase a file
> >...
> >
> >The security must be in the encryption algorithms not in the
> >confusion of the conception
> >
> >Yones LEBADY
> >[EMAIL PROTECTED]
>
>
>
> ---
> > Visit the OpenCard web site at http://www.opencard.org/ for more
> > information on OpenCard---binaries, source code, documents.
> > This list is being archived at http://www.opencard.org/archive/opencard/
>
> ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
> ! to
> !                           [EMAIL PROTECTED]
> ! containing the word
> !                           unsubscribe
> ! in the body.
>

CryTest.java

K.java

KUtil.java

Reply via email to