Re: 3DES with PROV_RSA_FULL ???

From: Mark_Pryor (mpryorVB@netsprintmail.com)
Date: 08/09/02


From: "Mark_Pryor" <mpryorVB@netsprintmail.com>
Date: Fri, 9 Aug 2002 10:12:34 -0700


Hi,
Eric <eric.h@netcourrier.com> wrote in message
news:eUy1906PCHA.2112@tkmsftngp08...
> Hi,
>
> I am surprised that I can create a 3DES 168 bits session key with no error
> while my CSP is the "Enhanced Provider" of PROV_RSA_FULL type.
> I just read the API doc after coding my function and see that RSA_FULL only
> supports RC2 and RC4 for Symetric encryption....
> How is it possible I get no error in this case??? (even if I don't
> understand but my key BLOB generated is only 2 characters...)
>
> Thanks
> Eric

Hi,
    If you enum the provider algorithms, you get something like this
for the Enhanced provider on Win98:

(algID;KeyLen;Name)
26114;128;RC2
26625;128;RC4
26113;56;DES
26121;112;3DES TWO KEY
26115;168;3DES
32772;160;SHA-1
32769;128;MD2
32770;128;MD4
32771;128;MD5
32776;288;SSL3 SHAMD5
32773;64;MAC
9216;1024;RSA_SIGN
41984;1024;RSA_KEYX
32777;0;HMAC

hth,
Mark Pryor