public void CreateSha1_PythonExample_EncodesAsExpected() { // See https://docs.python.org/3/library/uuid.html#example var guid = GuidFactory.CreateSha1(GuidNamespaces.Dns, new UTF8Encoding(encoderShouldEmitUTF8Identifier: false).GetBytes("python.org")); Assert.Equal("886313e1-3b8a-5372-9b90-0c9aee199e5d", guid.ToString("D")); }