Advertisement
Guest User

Untitled

a guest
May 25th, 2015
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. def GuidFromHash(bigstring):
  2. hash = MD5.Create()
  3. data = hash.ComputeHash(Encoding.UTF8.GetBytes(bigstring))
  4. hash.Clear()
  5. return System.Guid(data).ToString().ToUpperInvariant()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement