HighTechTalks DotNet Forums  

password character

Dotnet FAQs microsoft.public.dotnet.faqs


Discuss password character in the Dotnet FAQs forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Raymond Chiu
 
Posts: n/a

Default password character - 10-03-2007 , 08:04 AM






Dear all,

I need to do the project and meet some difficulties and need your help.

I need to maintain the password security table.
I want to change the password to another characters and can recovered to be
real password using some algorithms.

Do you have any algorithms of encrypt and decrypt?

Thanks for your help,

Mr. Hing



Reply With Quote
  #2  
Old   
Vadym Stetsiak
 
Posts: n/a

Default Re: password character - 10-03-2007 , 02:53 PM






Hello, Raymond!

..NET provides a set of cryptography algowithms.
Have a look at the followfing article
http://www.codeproject.com/useritems...MD5_TriDES.asp

--
With best regards, Vadym Stetsiak.
Blog: http://vadmyst.blogspot.com

You wrote on Wed, 3 Oct 2007 20:04:07 +0800:

RC> Dear all,

RC> I need to do the project and meet some difficulties and need your
RC> help.

RC> I need to maintain the password security table.
RC> I want to change the password to another characters and can
RC> recovered to be real password using some algorithms.

RC> Do you have any algorithms of encrypt and decrypt?

RC> Thanks for your help,

RC> Mr. Hing




Reply With Quote
  #3  
Old   
Raymond Chiu
 
Posts: n/a

Default Re: password character - 10-03-2007 , 11:12 PM



Dear All,

I have used the algorithm given by vadym stetsiak in codeproject web site.
It works fine but I meet the error in the following line of decrypt.

Dim resultArray As Byte() = cTransform.TransformFinalBlock(toEncryptArray,
0, toEncryptArray.Length)


It always said that it is invalid length.
Even I change to be toEncryptArray.Length-1, it still does not work.

Please help,

Thansk,

Mr, Hing.
"Vadym Stetsiak" <vadmyst (AT) gmail (DOT) com> 撰寫於郵件新聞:OZ3QF7eBIHA.1208 (AT) TK2MSFTNGP05 (DOT) phx.gbl...
Quote:
Hello, Raymond!

.NET provides a set of cryptography algowithms.
Have a look at the followfing article
http://www.codeproject.com/useritems...MD5_TriDES.asp

--
With best regards, Vadym Stetsiak.
Blog: http://vadmyst.blogspot.com

You wrote on Wed, 3 Oct 2007 20:04:07 +0800:

RC> Dear all,

RC> I need to do the project and meet some difficulties and need your
RC> help.

RC> I need to maintain the password security table.
RC> I want to change the password to another characters and can
RC> recovered to be real password using some algorithms.

RC> Do you have any algorithms of encrypt and decrypt?

RC> Thanks for your help,

RC> Mr. Hing






Reply With Quote
  #4  
Old   
Andrew P.
 
Posts: n/a

Default Re: password character - 10-06-2007 , 11:20 AM



Hey,

I wrote a tutorial on how to use the cryptographic services in .NET to
encrypt and decrypt files. But you can easily strip out the file code and
just work with the password string:

http://www.geekpedia.com/tutorial227...th-Csharp.html

Hope it helps.
Andrei

"Raymond Chiu" <rchiu2hk (AT) yahoo (DOT) com.hk> wrote

Quote:
Dear All,

I have used the algorithm given by vadym stetsiak in codeproject web site.
It works fine but I meet the error in the following line of decrypt.

Dim resultArray As Byte() = cTransform.TransformFinalBlock(toEncryptArray,
0, toEncryptArray.Length)


It always said that it is invalid length.
Even I change to be toEncryptArray.Length-1, it still does not work.

Please help,

Thansk,

Mr, Hing.
"Vadym Stetsiak" <vadmyst (AT) gmail (DOT) com
撰寫於郵件新聞:OZ3QF7eBIHA.1208 (AT) TK2MSFTNGP05 (DOT) phx.gbl...
Hello, Raymond!

.NET provides a set of cryptography algowithms.
Have a look at the followfing article
http://www.codeproject.com/useritems...MD5_TriDES.asp

--
With best regards, Vadym Stetsiak.
Blog: http://vadmyst.blogspot.com

You wrote on Wed, 3 Oct 2007 20:04:07 +0800:

RC> Dear all,

RC> I need to do the project and meet some difficulties and need your
RC> help.

RC> I need to maintain the password security table.
RC> I want to change the password to another characters and can
RC> recovered to be real password using some algorithms.

RC> Do you have any algorithms of encrypt and decrypt?

RC> Thanks for your help,

RC> Mr. Hing







Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.