JulianDicken
Follow
🦐
- Sweden
-
22:53
(UTC +01:00)
Highlights
- Pro
Pinned Loading
-
A UUID4 String Generator for GML
A UUID4 String Generator for GML 1function generate_uuid4_string() {
2//As per https://www.cryptosys.net/pki/uuid-rfc4122.html
3//FIXME - Do this without random()/choose() calls
4var _UUID = sha1_string_utf8(string(current_time) + string(date_current_datetime()) + string(random(0xFFFFFF)));
5_UUID = string_set_byte_at(_UUID, 9, 0x2D)
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.