Re: DES Algorithm (RC4 Encryption)

From: Shawn Farkas [MS] (shawnfa@online.microsoft.com)
Date: 10/25/02


From: "Shawn Farkas [MS]" <shawnfa@online.microsoft.com>
Date: Fri, 25 Oct 2002 10:46:56 -0700


Hi Bill,

    RC4 does not work with PasswordDeriveBytes because it is not an
algorithm supported by the .Net Framework at this time. Sorry.

-Shawn

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias, this alias is for newsgroup
purposes only.
"Bill Chan" <billchans@hotmail.com> wrote in message
news:ODbVcW9eCHA.1956@tkmsftngp10...
> Hi Shawn,
>
> Thanks for your suggestion. Actually, I have written some codes byusing
the
> System.Security.Cryptography class. But there is no "RC4" in  the
> cryptographic algorithms:
>
> TripleDESCryptoServiceProvider des = new TripleDESCryptoServiceProvider();
> des.IV = new byte[8];
> PasswordDeriveBytes pdb = new PasswordDeriveBytes(password, new byte[0]);
>
> When I try to create the object DES.key
> des.Key = pdb.CryptDeriveKey("RC4", "MD5" 128, des.IV);
>
> It throw the exception at this line that algorithm is not supported but
> there is no problem if replacing RC4 by RC2.
>
> Do you have any idea?  Thank you.
>
> Best Regards,
> Bill
>
> "Shawn Farkas [MS]" <shawnfa@online.microsoft.com> wrote in message
> news:OM#2vi4eCHA.3752@tkmsftngp08...
> > Hi Bill,
> >
> >     In the System.Security.Cryptography namespace you'll find classes
that
> > implement the following cryptographic algorithms:
> >
> > * DES
> > * RC2
> > * Rijndael
> > * TripleDES
> > * DSA
> > * RSA
> >
> > And the following hashes:
> >
> > * HMACSHA1
> > * MACTripleDES
> > * MD5
> > * SHA1
> > * SHA256
> > * SHA384
> > * SHA512
> >
> > -Shawn
> >
> > --
> > This posting is provided "AS IS" with no warranties, and confers no
> rights.
> > Please do not send email directly to this alias, this alias is for
> newsgroup
> > purposes only.
> >
> >
> > "Bill Chan" <billchans@hotmail.com> wrote in message
> > news:#kcSV$yeCHA.2664@tkmsftngp12...
> > > Hi everyone,
> > >
> > > I would like to know whether .NET framework provides any class for RC4
> > > encryption.  Any suggestions would be greatly appreciated.
> > >
> > >
> > > Best Regards,
> > > Bill
> > >
> > >
> >
> >
>
>


Relevant Pages

  • Re: LISPPA
    ... >> which describes the unification algorithm in Scheme. ... problem is the different representation of bindings. ... by means of alias, so the variable is just an alias of value. ... the Unify function acts quite straightforward. ...
    (comp.lang.lisp)
  • Re: Need Graph Isomorphism Algorithm De-bunked
    ... equivalence classes, not 11117. ... Bill Cox algorithm that you verified up to 8 nodes, ... not in your implementation) is in my rendering of Bill Cox's ... It would help if you could give two graphs that are not ...
    (sci.crypt)
  • Re: interesting task for .NET learners: why ArrayList.Sort hangs? [.NET 1.1]
    ... > (Bill: ... I don't mean that the algorithm was tweaked to fix this problem, ... Similar to the standard C++ idiom to prevent self assignment. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Where to Names in <> Come From?
    ... The alias on the Exchange General tab is correct. ... When you type in parts of names, Outlook matches ... >>Bill Teeple ...
    (microsoft.public.exchange2000.admin)
  • Re: alias is insane!
    ... Unlike you, Frank and Bill, I help people in this group. ... Here is the truth about you alias, you are a known and admitted liar, linux spamming troll and a bigoted atheist. ... You, Bill and the nym shifter are the trolls here and if you would leave, *all* the noise would stop immediately. ...
    (microsoft.public.windows.vista.general)