Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
This addon provides cryptographically secure and efficient UUID v4 objects and string representations in line with official guidelines.Web builds will attempt to use the web browser-provided crypto object if available, and only fall back to weak pseudorandom numbers as a last resort.Includes object comparison and deserialization functionality.
Crypto UUID v4
This addon provides cryptographically secure UUID v4 objects (as references) and String representations in line with official guidelines
Web builds will attempt to use the web browser-provided crypto object if available, and only fall back to weak pseudorandom numbers as a last resort.
Usage
Generating UUIDs:
UUID.new() -> UUIDgenerates a new UUIDv4 object.UUID.v4() -> Stringgenerates a UUIDv4 string.
Comparing UUIDs:
uuid_a.is_equal(uuid_b) -> boolcan compare UUID objects, a UUID object against a UUID string, or a UUID object against a PoolByteArray containing 16 bytes.str(uuid_a) == str(uuid_b)can compare any two UUID string representations or objects
Other functionality:
str(uuid)returns the formattedStringrepresentation of a UUID object, in the same standard format asUUID.v4()would generate.UUID.new(from: String) -> UUIDreturns a UUID object from a valid UUID String representation (eg. if serialized)UUID.new(from: PoolByteArray) -> UUIDreturns a UUID object from a PoolByteArray containing 16 bytesUUID.v4bin() -> PoolByteArraygenerates an array containing 16 bytesUUID.format(data: PoolByteArray) -> Stringgenerates a UUID string from aPoolByteArraycontaining 16 bytes (no validation checks)
This addon provides cryptographically secure and efficient UUID v4 objects and string representations in line with official guidelines.
Web builds will attempt to use the web browser-provided crypto object if available, and only fall back to weak pseudorandom numbers as a last resort.
Includes object comparison and deserialization functionality.
Reviews
Quick Information
This addon provides cryptographically secure and efficient UUID v4 objects and string representations in line with official guidelines.Web builds will attempt to use the web browser-provided crypto object if available, and only fall back to weak pseudorandom numbers as a last resort.Includes object comparison and deserialization functionality.