Re: DES Algorithm (RC4 Encryption)
From: Shawn Farkas [MS] (shawnfa@online.microsoft.com)
Date: 10/25/02
- Next message: george d lake: "Sub folders without Auth. HELP!"
- Previous message: Stefan Schachner[MS]: "Re: Security and cookieless sessions"
- In reply to: Bill Chan: "Re: DES Algorithm (RC4 Encryption)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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 > > > > > > > > > > > >
- Next message: george d lake: "Sub folders without Auth. HELP!"
- Previous message: Stefan Schachner[MS]: "Re: Security and cookieless sessions"
- In reply to: Bill Chan: "Re: DES Algorithm (RC4 Encryption)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|