From e406cd365e6cd5853e0403a614a946b7a80b39b2 Mon Sep 17 00:00:00 2001 From: MK Date: Tue, 12 Mar 2024 23:10:48 -0400 Subject: [PATCH] note which draft changed v6 clock_seq to full random --- generator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator.go b/generator.go index c3da546..08a1a9d 100644 --- a/generator.go +++ b/generator.go @@ -298,7 +298,7 @@ func (g *Gen) NewV5(ns UUID, name string) UUID { // // NOTE: Earlier versions of the spec contained the phrase "the clock sequence // bits remain unchanged from their usage and position in [UUID Version 1]." -// Later drafts now say "The clock sequence and node bits SHOULD be reset to a +// Since draft-01, it says "The clock sequence and node bits SHOULD be reset to a // pseudo-random value for each new UUIDv6 generated; however, implementations // MAY choose to retain the old clock sequence and MAC address behavior." // The "Security Considerations" section of the draft says that "MAC addresses