core/encoding/uuid/legacy

uuid_legacy

Types

1

Constants

2

Procedures

4

generate_v3_bytes

generate_v3_bytes :: proc(namespace: Identifier, name: []u8) -> (result: Identifier)Source

Generate a version 3 UUID.

This UUID is generated with a MD5 hash of a name and a namespace.

  • namespace: An Identifier that is used to represent the underlying namespace.

This can be any one of the Namespace_* values provided in the uuid package.

  • name: The byte slice which will be hashed with the namespace.
  • result: The generated UUID.

generate_v3_string

generate_v3_string :: proc(namespace: Identifier, name: string) -> (result: Identifier)Source

Generate a version 3 UUID.

This UUID is generated with a MD5 hash of a name and a namespace.

  • namespace: An Identifier that is used to represent the underlying namespace.

This can be any one of the Namespace_* values provided in the uuid package.

  • name: The string which will be hashed with the namespace.
  • result: The generated UUID.

generate_v5_bytes

generate_v5_bytes :: proc(namespace: Identifier, name: []u8) -> (result: Identifier)Source

Generate a version 5 UUID.

This UUID is generated with a SHA1 hash of a name and a namespace.

  • namespace: An Identifier that is used to represent the underlying namespace.

This can be any one of the Namespace_* values provided in the uuid package.

  • name: The byte slice which will be hashed with the namespace.
  • result: The generated UUID.

generate_v5_string

generate_v5_string :: proc(namespace: Identifier, name: string) -> (result: Identifier)Source

Generate a version 5 UUID.

This UUID is generated with a SHA1 hash of a name and a namespace.

  • namespace: An Identifier that is used to represent the underlying namespace.

This can be any one of the Namespace_* values provided in the uuid package.

  • name: The string which will be hashed with the namespace.
  • result: The generated UUID.

Procedure Groups

2

Reference search

Find anything

Documentation preferences

Settings

System theme variants

Used only while Theme is set to System.