Rep:[xmlsec] XML Encryption with session key

Yann Le Bars ylebar at ifrance.com
Wed Nov 12 05:41:48 PST 2003


Since my knowledge in C and debug and all this is not good enough, I
just stoped messing around with all this and read a bit of docs. I
discovered that: 

RSA-v1.5 works for AES192 and 3DES
RSA-OAEP works for AES128 and AES256
(http://www.aleksey.com/xmlsec/xmlenc.html)

encrypt3.c
(http://www.aleksey.com/xmlsec/api/xmlsec-encrypt-with-session-key.html)
uses RSA-OAEP and 3DES (which is no good).

So I tried different scenarii and got the following:

        RSA-v1.5 RSA-OAEP 
3DES       OK     Not-OK
AES128     OK       OK
AES192     OK     Not-OK
AES256     OK     Not-OK

Does that sound good to you?

Decryption works fine then.


_____________________________________________________________________
Un mot doux à envoyer? Une sortie ciné à organiser? Faites le en temps
réel avec MSN Messenger! C'est gratuit!   http://ifrance.com/_reloc/m
_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France




More information about the xmlsec mailing list