@@ -30,7 +30,8 @@ The following functions are available:
3030 Generates a random string based on the type and length you specify.
3131 Useful for creating passwords or generating random hashes.
3232
33- .. warning :: Except for type **numeric** and **crypto**, no cryptographically secure
33+ .. warning :: Except for type **alpha**, **alnum**, **numeric**, **nozero**,
34+ and **crypto **, no cryptographically secure
3435 strings are generated. Therefore, it must not be used for cryptographic
3536 purposes or purposes that requires return values to be unguessable.
3637
@@ -49,8 +50,10 @@ The following functions are available:
4950 .. note :: When you use **crypto**, you must set an even number to the second parameter.
5051 Since v4.2.2, if you set an odd number, ``InvalidArgumentException `` will be thrown.
5152
52- .. note :: Since v4.3.3, **numeric** uses ``random_int()``. In the previous
53- versions, it used ``str_shuffle() `` that is not cryptographically secure.
53+ .. note :: Since v4.3.3, **alpha**, **alnum** and **nozero** use ``random_byte()``,
54+ and **numeric ** uses ``random_int() ``.
55+ In the previous versions, it used ``str_shuffle() `` that is not
56+ cryptographically secure.
5457
5558 Usage example:
5659
0 commit comments