hi, i am using ascii and octal for a simple encryption function
However now, i am having trouble writing the decryption function, a sample encrypted message would be like this
"Hello" ---> "110113.145113.154113.154113.157113."
VB.NET:
Private Function Encrypt(ByRef Text As String) As String
Dim encryption As String
Dim letter As Char
Dim i As Integer
For i = 0 To Text.Length - 1
letter = Text.Substring(i)
encryption = encryption & Oct(Asc(letter)) + Oct(Asc("K")) & "."
Next
Encrypt = encryption
End Function
However now, i am having trouble writing the decryption function, a sample encrypted message would be like this
"Hello" ---> "110113.145113.154113.154113.157113."