Skip to content
  • Jeremy Evans's avatar
    5fef46ae
    Test SecureRandom.uuid format · 5fef46ae
    Jeremy Evans authored
    SecureRandom uses v4 UUIDs, which are completely random except for
    6 bits, 4 in the version field and 2 in the clk_seq_hi_res field.
    Add a test that those bit patterns are set correctly for v4 UUIDs,
    per RFC 4122 section 4.4.
    
    Fixes [Bug #13603]
    5fef46ae
    Test SecureRandom.uuid format
    Jeremy Evans authored
    SecureRandom uses v4 UUIDs, which are completely random except for
    6 bits, 4 in the version field and 2 in the clk_seq_hi_res field.
    Add a test that those bit patterns are set correctly for v4 UUIDs,
    per RFC 4122 section 4.4.
    
    Fixes [Bug #13603]
Loading