Skip to content

Commit

Permalink
note which draft changed v6 clock_seq to full random
Browse files Browse the repository at this point in the history
  • Loading branch information
kohenkatz authored Mar 13, 2024
1 parent 1072314 commit e406cd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e406cd3

Please sign in to comment.