You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by jh_Zzz <jh...@hotmail.com> on 2004/12/03 01:57:37 UTC

Throw expection when using setKey on Win98

Hi There,

I met a problem on win98 when try to use setKey, the encrypt arithmetic is
KEY_3DES_192, the key is a 24 chanracters string.

Trace into the function, found it was caused by the CryptEncrypt function
return NTE_BAD_KEY.

The same code work normally on windows 2000 and windows XP. I am using win98
se, IE version is 5.0.

How to make the code also can work on win98?

Thanks for your great help
Jack