Ruby library for generating UUIDs of every RFC 4122 type
open sourceApache-2.0free
UUIDTools is a small Ruby library for generating the various types of UUIDs, following RFC 4122 wherever possible: name-based UUIDs from MD5 or SHA-1 and a namespace, timestamp-based UUIDs and random UUIDs. Bob Aman wrote it. Install it from RubyGems as uuidtools.
Problems it solves
- generate a deterministic UUID from a name in Ruby
- create random or time-based UUIDs in a Ruby app
- give each record in my Ruby app a universally unique ID
Features
- name-based UUIDs from MD5 or SHA-1
- timestamp-based UUIDs
- random UUIDs
- follows RFC 4122 where possible
