3

Possible Duplicate:
How to Create Deterministic Guids

Using C#, I want to generate a GUID using a SHA-1 hash of a namespace UUID and a name, just like Python's UUID5

uuid.uuid5(uuid.NAMESPACE_DNS, 'python.org')

http://docs.python.org/library/uuid.html#example

Community
  • 1
  • 1
GaiusSensei
  • 1,860
  • 4
  • 25
  • 44
  • That link includes a reference to @Bradley Grainger's code on Github to do this: https://github.com/LogosBible/Logos.Utility/blob/master/src/Logos.Utility/GuidUtility.cs – Joe Oct 18 '12 at 04:01
  • So that's what it's called :) Thanks! – GaiusSensei Oct 18 '12 at 04:06
  • It doesn't seem to have a good name. I had trouble finding it too. :) – Joe Oct 18 '12 at 04:08

0 Answers0