Project

General

Profile

« Previous | Next » 

Revision 5fef46ae

Added by jeremyevans (Jeremy Evans) over 4 years ago

Test SecureRandom.uuid format

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]