Re: Crypto API using RC2 instead of RC4?
From: Matt (mtaylor_at_gladstonemrm.com)
Date: 11/24/05
- Next message: Rhett Gong [MSFT]: "Re: User account management and information functions usage with trusted domains"
- Previous message: Valery Pryamikov: "Re: Public exponenet e in Private Key Blob"
- In reply to: Valery Pryamikov: "Re: Crypto API using RC2 instead of RC4?"
- Next in thread: Valery Pryamikov: "Re: Crypto API using RC2 instead of RC4?"
- Reply: Valery Pryamikov: "Re: Crypto API using RC2 instead of RC4?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 23 Nov 2005 15:27:00 -0800
Hello Valery,
My test application creates a random string.
It then passses that string to be encrypted.
The returned encrypted string is then immediately decrypted to make
sure it matches the original string.
This works about 19 out of 20 times until the CryptDecrypt API call
returns False resulting in an error being raised.
I'm not clued up on encryption but as far as I can tell all the padding
is done in the
'-- Prepare data for decryption.--' section in the function I posted,
and that is identical to the Encrypt function so should work fine?
The KB example code certainly does not provide the ability to set any
padding, only the ciphers and a password key.
If you are willing I am happy to send you a ready to run test project
so that you can see for yourself.
Thanks,
Matt
- Next message: Rhett Gong [MSFT]: "Re: User account management and information functions usage with trusted domains"
- Previous message: Valery Pryamikov: "Re: Public exponenet e in Private Key Blob"
- In reply to: Valery Pryamikov: "Re: Crypto API using RC2 instead of RC4?"
- Next in thread: Valery Pryamikov: "Re: Crypto API using RC2 instead of RC4?"
- Reply: Valery Pryamikov: "Re: Crypto API using RC2 instead of RC4?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|