Re: Crypto API using RC2 instead of RC4?
From: Valery Pryamikov (valery_at_harper.no)
Date: 11/23/05
- Next message: Rhett Gong [MSFT]: "Re: INTERACTIVE group missing after SSPI auth"
- Previous message: Jeffrey Tan[MSFT]: "RE: Problem with Terminal Services auto login"
- In reply to: Matt: "Re: Crypto API using RC2 instead of RC4?"
- Next in thread: Matt: "Re: Crypto API using RC2 instead of RC4?"
- Reply: Matt: "Re: Crypto API using RC2 instead of RC4?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 23 Nov 2005 06:47:54 +0100
I didn't look at the code in KB... but it should not be too difficult to put
on decryption function out of working encryption function -- you basicly
replace encrypt with decrypt (and then it is mostly cosmetic changes). The
problem "with certain strings" usually due to use of wrong padding mode -
just make sure that you use same padding mode on both ends and that's it.
-Valery.
http://www.harper.no/valery
"Matt" <mtaylor@gladstonemrm.com> wrote in message
news:1132698943.082322.256320@g14g2000cwa.googlegroups.com...
> Thanks for the reply Valery,
>
> Basically I am trying to do what is described by this KB article:
> http://support.microsoft.com/default.aspx?scid=kb;en-us;821762
>
> I have a VB 6 app that needs to encrypt some data, send it over the
> network to a .Net app which decrypts it, the VB 6 app then receives
> encrypted data in return which it needs to decrypt.
>
> The KB article was great, but they don't provide the decrypt function
> in VB 6, only the encrypt. I tried to create myself but it just errored
> with certain strings.
>
> So now I am desperately looking for some way to get an algorithm that
> will work between VB6 & .Net.
>
> All I really need is a working decrypt function to go along with the
> provided encrypt function from the above KB article. :(
>
> Matt
>
- Next message: Rhett Gong [MSFT]: "Re: INTERACTIVE group missing after SSPI auth"
- Previous message: Jeffrey Tan[MSFT]: "RE: Problem with Terminal Services auto login"
- In reply to: Matt: "Re: Crypto API using RC2 instead of RC4?"
- Next in thread: Matt: "Re: Crypto API using RC2 instead of RC4?"
- Reply: Matt: "Re: Crypto API using RC2 instead of RC4?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|