Handbook
Glossary
uuid3 ( namespace name -- string )
UUID (Universally Unique Identifier)
Prev:
uuid1 ( -- string )
Next:
uuid4 ( -- string )
Vocabulary
uuid
Inputs
namespace
a
string
name
a
string
Outputs
string
a UUID string
Word description
Generates a UUID (version 3) from the MD5 hash of a namespace UUID and a name.
Definition
USING:
checksums
checksums.md5
endian
kernel
sequences
uuid.private
;
IN:
uuid
:
uuid3
( namespace name -- string )
[
uuid-parse
]
dip
append
md5
checksum-bytes
16
index-or-length
head
be>
3
(version)
uuid>string
;