Re: Crypto API using RC2 instead of RC4?

From: mscir (mscir_at_yahoo.com)
Date: 11/23/05


Date: Tue, 22 Nov 2005 17:38:44 -0800

Matt wrote:
> 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
>
How about this approach (from 1st pg of google hits)

http://www.freevbcode.com/ShowCode.Asp?ID=967
FrezCrypto is an ActiveX DLL that wraps the Microsoft CryptoAPI and
allows the user to encrypt or decrypt strings based on the RC2 Block
Algorithm or RC4 Stream Algorithm.



Relevant Pages

  • Re: What is exponent?
    ... For simple description of RSA algorithm ... I also have the receiver's certificate (public key only). ... Use RSA to encrypt the session key ...
    (microsoft.public.dotnet.security)
  • Re: Use my your own HashAlgorithm Class
    ... Rather than use the EncryptValue / DecryptValue methods (which RSACryptoServiceProvider doesn't support), ... the Encrypt and Decrypt methods. ... >> doesn't know about your new algorithm. ... But CAPI doesn't work with OIDs directly, ...
    (microsoft.public.dotnet.security)
  • RE: Password encryption
    ... I'm not looking to encrypt a password. ... Because we usually don't need to use symmetric algorithm to ... we just store the hash of the ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.framework)
  • Re: Generating a large sequence of unique, random numbers
    ... > Generate n unique codes of length l so that they are non-predictable. ... > whatsoever which algorithm to use or how to start in general. ... Luby-Rackoff construct, using F1..F4, producing L' and R'. ... Use that to encrypt the ...
    (sci.crypt)
  • how shd i improve upon this algorithm(ne suggestions)
    ... I have thought of a new algorithm for encryption .Could u tell me its ... nos 0....255.We use this to asssign a new index to ebery charcter. ... So to encrypt a char 'x' we first find its ascii,then index and then ... Next the pair is replaed by two charcters first havin index same as ...
    (sci.crypt)