|
|
|
date: Wed, 3 Oct 2007 20:04:07 +0800,
group: microsoft.public.dotnet.faqs
back
Re: password character
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" ¼¶¼g©ó¶l¥ó·s»D:OZ3QF7eBIHA.1208@TK2MSFTNGP05.phx.gbl...
> 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
>
>
>
date: Thu, 4 Oct 2007 11:12:28 +0800
author: Raymond Chiu
Re: password character
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
"Raymond Chiu" wrote in message
news:uApLoRjBIHA.5196@TK2MSFTNGP02.phx.gbl...
> 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"
> ¼¶¼g©ó¶l¥ó·s»D:OZ3QF7eBIHA.1208@TK2MSFTNGP05.phx.gbl...
>> 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
>>
>>
>>
>
>
date: Sat, 6 Oct 2007 11:20:15 -0400
author: Andrew P.
|
|