UUIDGen

Build Status

Generate UUID(rfc4122) version 3(based on md5) or version 5(based on sha-1).

Installation

Add this line to your application's Gemfile:

gem 'uuidgen'

And then execute:

$ bundle

Or install it yourself as:

$ gem install uuidgen

Usage

UUID5.new({SEED_STRING})

or

UUID3.new({SEED_STRING})

You can specify name spaces below with second arg.

  • NameSpaceDNS
  • NameSpaceURL
  • NameSpaceOID
  • NameSpaceX500