Skip to content

Instantly share code, notes, and snippets.

@brianherman
Created June 5, 2015 15:17
Show Gist options
  • Select an option

  • Save brianherman/b4174b99be9000fcc4f8 to your computer and use it in GitHub Desktop.

Select an option

Save brianherman/b4174b99be9000fcc4f8 to your computer and use it in GitHub Desktop.
diamond.vb
Dim encoder As New System.Text.ASCIIEncoding()
Dim md5Hasher As New System.Security.Cryptography.MD5CryptoServiceProvider()
Dim Password as String = encoder.GetString(md5Hasher.ComputeHash(encoder.GetBytes(PasswordInsTextBox.Text)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment