Advertisement
ZeekoSec

Unown Hash Function

Apr 7th, 2015
543
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.28 KB | None | 0 0
  1. Private Function Hash(byval plaintext As String) As String
  2. Dim charColl As System.Text.RegularExpressions.MatchCollection = System.Text.RegularExpressions.Regex.Matches(strOriginal, ".")
  3. Return charColl.Count.ToString * charColl.Count.ToString / Math.Sqrt(charColl.Count.ToString) + "//"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement