---
name: "Prophet::UUIDGenerator"
section: "3pm"
platform: "linux"
package: "libprophet-perl"
version: "0.743-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/Prophet::UUIDGenerator"
---

# Prophet::UUIDGenerator(3pm)

## NAME

Prophet::UUIDGenerator

## DESCRIPTION

Creates UUIDs using UUID::Tiny.  Initially, it created v1 and v3 UUIDs; the new UUID scheme creates v4 and v5 UUIDs, instead.

## METHODS

### uuid\_scheme

Gets or sets the UUID scheme; if 1, then creates v1 and v3 UUIDs (for backward compatability with earlier versions of Prophet).  If 2, it creates v4 and v5 UUIDs.

### create\_str

Creates and returns v1 or v4 UUIDs, depending on "uuid\_scheme".

### create\_string\_from\_url URL

Creates and returns v3 or v5 UUIDs for the given `"URL"`, depending on "uuid\_scheme".

### from\_string

### to\_string

### from\_safe\_b64

### to\_safe\_b64

### version

### set\_uuid\_scheme
