Posted on: 10/25/2013 1:28:52 AM | Views : 844

Hello,
I have ASP.NET application using VB.NEt, everyone know we must encrypt password during user is login, I have default code that encrypt and decrypt using Base64 encryption,
There is my code,
Public Function base64Decode(ByVal sData As String) As String Dim encoder As New System.Text.UTF8Encoding() Dim utf8Decode As System.Text.Decoder = encoder.GetDecoder() Dim todecode_byte As Byte() = Convert.FromBase64String(sData) Dim charCount As Integer = utf8Decode.GetCharCount(todecode_byte, 0, todecode_byte.Length) Dim decoded_char As Char() = New Char(charCount - 1) {} utf8Decode.GetChars(todecode_byte, 0, todecode_byte.Length, decoded_char, 0) Dim result As String = New [String](decoded_char) Return result End Function But  I have question, how to manipulation or customize the base64 encryption so only me can decrypt that, Can anybody give me  litle sample code for manipulation or customize that code ...

Go to the complete details ...