Geeks With Blogs

News This is the *old* blog. The new one is at blog.sixeyed.com
Elton Stoneman
This is the *old* blog. The new one is at blog.sixeyed.com

[Source: http://geekswithblogs.net/EltonStoneman]

23 months after the original post on Generating Deterministic GUIDs, I still find myself doing it fairly often and still using the same code (MD5 may not be suitable for secure scenarios, but it's fine for generating GUIDs for normal development use).

This post contains a Silverlight widget which generates GUIDs for you on the fly:  

Get Microsoft Silverlight

Hit GUID to get a random GUID (from a call to Guid.NewGuid()), or enter text in the box to generate a GUID from the MD5 hash of its contents. It'll ask you for permission to use your clipboard, and if you agree the GUID it generates will be pasted into the clipboard.

The code (VS 2010) is on github here: Silverlight Guid Generator.

Not much to it, only noteworthy point is that Silverlight doesn't have a native MD5 provider, but there's an implementation of the algorithm on MSDN Code Gallery – Silverlight MD5 – which is correct and produces the same hash as the provider in the full .NET framework.

Posted on Thursday, May 13, 2010 7:53 PM Silverlight | Back to top


Comments on this post: Deterministic GUIDs – Part 2

# re: Deterministic GUIDs – Part 2
Requesting Gravatar...
Super-Duper blog! I am loving it!! Will come back again - taking you feeds also, Keep this good work continue. thanks for sharing...
Left by ipad scrapbook app on Aug 10, 2010 8:52 AM

# re: Deterministic GUIDs – Part 2
Requesting Gravatar...
This is helpful. Thanks Elton.
Left by flagpoles on Sep 15, 2010 7:56 PM

# re: Deterministic GUIDs – Part 2
Requesting Gravatar...
Wow what a great widget!
Left by flag poles on Mar 02, 2012 12:39 AM

# re: Deterministic GUIDs – Part 2
Requesting Gravatar...
I have found some amazing posts here. please keep posting.
Left by srbija on Oct 17, 2012 10:43 AM

# re: Deterministic GUIDs – Part 2
Requesting Gravatar...

I am first time visit your site and found it superb,It's really beneficial for me.
Thanks for sharing it.
Left by horoskopskiznaci.com on Nov 23, 2012 1:55 PM

Your comment:
 (will show your gravatar)


Copyright © Elton Stoneman | Powered by: GeeksWithBlogs.net