I got this basic function that encrypts some text, but I don't know how to decrypt Can anyone help me?
VB.NET:
Function Encrypt(ByVal Text As String, ByVal Key1 As Long, ByVal key2 As Long) As String
Dim a As Long, tmpStr As String
For a = 1 To Len(Text)
tmpStr = tmpStr & Trim$(Str$(key2 * (Key1 + Asc(Mid(Text, a, 1))))) & " "
Next a
Encrypt = Trim$(tmpStr)
End Function