Need help with uuidtools?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

sporkmonger
416 Stars 62 Forks Apache License 2.0 98 Commits 10 Opened issues

Description

A simple universally unique ID generation library.

Services available

!
?

Need anything else?

Contributors list

Build Status

UUIDTools

Homepage
sporkmonger/uuidtools
Author
Bob Aman
Copyright
Copyright © 2005-2014 Bob Aman
License
Apache 2.0

Description

UUIDTools was designed to be a simple library for generating any of the various types of UUIDs. It conforms to RFC 4122 whenever possible.

Reference

  • {UUIDTools::UUID}

Example usage

require "uuidtools"

UUIDTools::UUID.md5_create(UUIDTools::UUID_DNS_NAMESPACE, "www.widgets.com")

=> #<0x287576 uuid:3d813cbb-47fb-32ba-91df-831e1593ac29>

UUIDTools::UUID.sha1_create(UUIDTools::UUID_DNS_NAMESPACE, "www.widgets.com")

=> #<0x2a0116 uuid:21f7f8de-8051-5b89-8680-0195ef798b6a>

UUIDTools::UUID.timestamp_create

=> #<0x2adfdc uuid:64a5189c-25b3-11da-a97b-00c04fd430c8>

UUIDTools::UUID.random_create

=> #<0x19013a uuid:984265dc-4200-4f02-ae70-fe4f48964159>

</0x19013a></0x2adfdc></0x2a0116></0x287576>

Install

$ sudo gem install uuidtools

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.