TABLE OF CONTENTS


UUIDs/UUIDs.V4 [ Packages ]

[ Top ] [ UUIDs ] [ Packages ]

DESCRIPTION

    UUIDv4 as described in RFC-9562 5.4:
    https://www.ietf.org/rfc/rfc9562.html#section-5.4

SOURCE

package UUIDs.V4 is

UUIDs.V4/V4.UUID4 [ Subprograms ]

[ Top ] [ UUIDs.V4 ] [ Subprograms ]

SOURCE

   function UUID4 return UUID;

OPTIONS

    The default source of randomness is a pseudorandom number generator.
    If all random data should be retrieved from system random, refer to
    UUIDs/Settings.Set_Random

RETURN VALUE

    UUIDs.UUID - The UUIDv4 generated by the function.

EXAMPLE

   --    --  Generate a UUID based on purely random data.
   --    My_UUID : UUID := V4.UUID4;

SEE ALSO

    Please see RFC-9562 5.4 for a full description:
    https://www.ietf.org/rfc/rfc9562.html#section-5.4

FUNCTION

    UUIDv4 is meant for generating UUIDs truly random or  pseudorandom
    numbers.  When called, all 128 bits of data are generated randomly
    sans the variant and version fields.