Provides an efficient implementation of RFC-4122 UUID version 4.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Michael Fiano 717823224b
Update system definition.
2 months ago
src Update. 2 months ago
LICENSE Update. 2 months ago
README.md Update. 2 months ago
random-uuid.asd Update system definition. 2 months ago

README.md

random-uuid

Provides an efficient implementation of RFC-4122 UUID version 4.

Overview

This library provides the ability to generate random UUID's, and parse UUID strings into UUID objects.

Install

(ql:quickload :random-uuid)

Usage

(make-uuid (&optional generator))

Construct a new RFC-4122 v4 UUID. generator if supplied is a generator object created with the seedable-rng library. This allows generating a deterministic sequence of random UUID's.

(from-string string)

Construct a UUID object by parsing the string representation of a UUID.

(to-string uuid)

Convert a UUID to its string representation.

(valid-string-p string)

Check whether the given string is a valid representation of a UUID.

License

Copyright © 2019-2022 Michael Fiano mail@mfiano.net.

Licensed under the MIT License.