[xmlsec] AES Encryption with a keyfile doese not work.

Kaushalye Kapuruge kaushalye at wso2.com
Mon Jan 8 00:03:42 PST 2007


Mike Fudd wrote:
>>> I have a problem with xmlsec.exe encryption. I gave to the program a 
>>> file with a AES256 key, but the result cannot be decrypted.
>>
>> Well, can you decrypt it with xmlsec itself?
>
> Yes, it decrypts the file. But why? If I encrypt a file with the AES 
> algorithm, the output should be always the same if I use the same AES 
> key. Why doese xmlsec encryption always lead to another chiper text? 
> Are to the input some random data added?
You are correct. There are random data added for padding and for initial 
vector. :)
Cheers,
-Kau
>
> _________________________________________________________________
> Find sales, coupons, and free shipping, all in one place!  MSN 
> Shopping Sales & Deals 
> http://shopping.msn.com/content/shp/?ctid=198,ptnrid=176,ptnrdata=200639
>
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec
>




More information about the xmlsec mailing list