mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
docs: add warning
This commit is contained in:
parent
e1c13f687f
commit
2cbbda730b
@ -30,6 +30,10 @@ The following functions are available:
|
||||
Generates a random string based on the type and length you specify.
|
||||
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
|
||||
specifies the length. The following choices are available:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user