Flowdock
method

uuid_from_hash

Importance_1
v4.2.1 - Show latest stable - 0 notes - Class: UUID
uuid_from_hash(hash_class, uuid_namespace, name) public

Generates a v5 non-random UUID (Universally Unique IDentifier).

Using Digest::MD5 generates version 3 UUIDs; Digest::SHA1 generates version 5 UUIDs. uuid_from_hash always generates the same UUID for a given name and namespace combination.

See RFC 4122 for details of UUID at: http://www.ietf.org/rfc/rfc4122.txt

Show source
Register or log in to add new notes.