Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Mon, 25 Feb 2008 08:27:02 -0800,    group: microsoft.public.dotnet.security        back       


TripleDES C# Source Code   
Does anyone know where I can find the source code to the TripleDES algorithm 
in C#? I found it in Java and C++, but not C#.  I found the calls to 
Encrypt() & Decrypt(), but not the source itself.  Yes, I could translate it 
from C++ or Java; but I don't want to re-invent the wheel.

Thanks,
date: Mon, 25 Feb 2008 08:27:02 -0800   author:   BillG_SD

Re: TripleDES C# Source Code   
Hello!
You wrote  on Mon, 25 Feb 2008 08:27:02 -0800:

 BS> Does anyone know where I can find the source code to the TripleDES
 BS> algorithm in C#? I found it in Java and C++, but not C#.  I found the
 BS> calls to Encrypt() & Decrypt(), but not the source itself.  Yes, I
 BS> could translate it from C++ or Java; but I don't want to re-invent the
 BS> wheel.

Try BouncyCastle, they must have it in their C# port.

With best regards,
Eugene Mayevski
http://www.SecureBlackbox.com - the comprehensive component suite for 
network security
date: Mon, 25 Feb 2008 18:49:03 +0200   author:   Eugene Mayevski

Re: TripleDES C# Source Code   
That's probably the best bet.  The .NET framework calls down into the 
unmanaged CryptoAPI for its 3DES implementation, so you can't even use 
Reflector to see anything useful.

I'm curious why this is needed though.

Joe K.
-- 
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Eugene Mayevski"  wrote in message 
news:O3TjV58dIHA.4880@TK2MSFTNGP02.phx.gbl...
> Hello!
> You wrote  on Mon, 25 Feb 2008 08:27:02 -0800:
>
> BS> Does anyone know where I can find the source code to the TripleDES
> BS> algorithm in C#? I found it in Java and C++, but not C#.  I found the
> BS> calls to Encrypt() & Decrypt(), but not the source itself.  Yes, I
> BS> could translate it from C++ or Java; but I don't want to re-invent the
> BS> wheel.
>
> Try BouncyCastle, they must have it in their C# port.
>
> With best regards,
> Eugene Mayevski
> http://www.SecureBlackbox.com - the comprehensive component suite for 
> network security
date: Mon, 25 Feb 2008 11:06:09 -0600   author:   Joe Kaplan

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us