Edward Elliott wrote:
>You need to find the exact algorithm the DESCryptoServiceProvider uses.
>CBC and CTR are common modes with IVs. Besides mode of operation, there's
>the issue of how it pads the data (in the cipher, not base64). There could
>also be differences in things like the key sche
Gary Doades <[EMAIL PROTECTED]> writes:
> http://twhiteman.netfirms.com/des.html
I'm not sure if that's the same DES lib that I used in a project last
year but as I remember, the lib I used had a bug in 3DES CBC mode that
made it give answers incompatible with the NIST test vectors. It took
consi
On Fri, 12 May 2006 11:00:23 +0200, Andreas Pauley <[EMAIL PROTECTED]> wrote:
>Hi all,
>
>I'm trying to implement a Python equivalent of a C# method that encrypts
>a string.
>My Python attempt is in the attached file, but does not return the same
>value as the C# method (see below).
>
>Any hints
Andreas Pauley wrote:
> Hi all,
>
> I'm trying to implement a Python equivalent of a C# method that encrypts
> a string.
> My Python attempt is in the attached file, but does not return the same
> value as the C# method (see below).
>
> Any hints?
I can't tell from the code you posted what a DE
Hi all,
I'm trying to implement a Python equivalent of a C# method that encrypts
a string.
My Python attempt is in the attached file, but does not return the same
value as the C# method (see below).
Any hints?
Thanks,
Andreas
The C# method:
public static string Encrypt(string decrypted)
{