docs: add warning

This commit is contained in:
kenjis 2023-03-04 21:14:47 +09:00
parent e1c13f687f
commit 2cbbda730b
No known key found for this signature in database
GPG Key ID: BD254878922AF198

View File

@ -30,6 +30,10 @@ The following functions are available:
Generates a random string based on the type and length you specify. Generates a random string based on the type and length you specify.
Useful for creating passwords or generating random hashes. Useful for creating passwords or generating random hashes.
.. warning:: Except for type **crypto**, no cryptographically secure
strings are generated. Therefore, it must not be used for cryptographic
purposes or purposes that requires return values to be unguessable.
The first parameter specifies the type of string, the second parameter The first parameter specifies the type of string, the second parameter
specifies the length. The following choices are available: specifies the length. The following choices are available: