encrypt and decrypt files. But you can easily strip out the file code and
Hope it helps.
"Raymond Chiu" <rchiu2hk@yahoo.com.hk> 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" <vadmyst@gmail.com>
> ¼¶¼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
>>
>>
>>
>
>