mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-11 20:06:18 +01:00
Merge branch '1947-uuid-docs' into 'master'
guuid: Document that g_uuid_string_random() is not secure Closes #1947 See merge request GNOME/glib!1246
This commit is contained in:
commit
eb439076a6
@ -193,7 +193,9 @@ g_uuid_generate_v4 (GUuid *uuid)
|
||||
/**
|
||||
* g_uuid_string_random:
|
||||
*
|
||||
* Generates a random UUID (RFC 4122 version 4) as a string.
|
||||
* Generates a random UUID (RFC 4122 version 4) as a string. It has the same
|
||||
* randomness guarantees as #GRand, so must not be used for cryptographic
|
||||
* purposes such as key generation, nonces, salts or one-time pads.
|
||||
*
|
||||
* Returns: (transfer full): A string that should be freed with g_free().
|
||||
* Since: 2.52
|
||||
|
Loading…
Reference in New Issue
Block a user