Skip to content

Instantly share code, notes, and snippets.

@yetanotherchris
Created February 9, 2013 19:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yetanotherchris/4746620 to your computer and use it in GitHub Desktop.
Save yetanotherchris/4746620 to your computer and use it in GitHub Desktop.
Unique identifiers: number hash
public static string NumberHash()
{
byte[] buffer = GetRandom(2);
return string.Format("{0:00}-{1:00}",buffer[0],buffer[1]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment