is there any way i can encrypt my ASCII character too
You can encrypt it byt simply add +1 to the ascii chr then to decrypt -1.
Here is a simple bit encryption routine for ascii characters. It is well commented and easy to use but don't expect it to be too secure. http://freevbcode.com/ShowCode.Asp?ID=1092 Greg
Free VB Add-In - The Reference Librarian Click Here for screen shot and download link.
Write your code in TEXT1 and it will give your the crypted thing in the TEXT2. VB Code: For i = 1 To Len(Text1.Text) lettre = Mid(Text1.Text, i, 1) code = Asc(lettre) If code <> 32 Then code = code + 1 End If lettre = Chr(code) Text2.Text = Text2.Text + lettre Next i
For i = 1 To Len(Text1.Text) lettre = Mid(Text1.Text, i, 1) code = Asc(lettre) If code <> 32 Then code = code + 1 End If lettre = Chr(code) Text2.Text = Text2.Text + lettre Next i
Forum Rules