Advertisement
ZeekoSec

SimpleHasher by Me

Apr 8th, 2015
501
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Public Function Hasher(ByVal input As String, ByVal key As String) As String
  2.         Try
  3.             Dim out As New System.Text.StringBuilder
  4.             For Each c As Char In input
  5.                 Dim temp As Integer = Asc(c) + 728
  6.                 out.Append(temp.ToString)
  7.             Next
  8.             Return out.ToString + / key.Length / 2 - out.ToString / key.Length * 2
  9.         Catch
  10.             Return " "
  11.         End Try
  12.     End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement