all groups > dotnet faqs > october 2007 >
You're in the

dotnet faqs

group:

password character


password character Raymond Chiu
10/3/2007 8:04:07 PM
dotnet faqs:
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

Re: password character Vadym Stetsiak
10/3/2007 9:53:19 PM
Hello, Raymond!

..NET provides a set of cryptography algowithms.
Have a look at the followfing article
http://www.codeproject.com/useritems/Cryptography_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


Re: password character Raymond Chiu
10/4/2007 12:00:00 AM
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@gmail.com> ¼¶¼g©ó¶l¥ó·s»D:OZ3QF7eBIHA.1208@TK2MSFTNGP05.phx.gbl...
[quoted text, click to view]

Re: password character Andrew P.
10/6/2007 11:20:15 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_Encrypting-and-Decrypting-Files-with-Csharp.html

Hope it helps.
Andrei

[quoted text, click to view]
AddThis Social Bookmark Button