We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf828f3 commit f2cdc9bCopy full SHA for f2cdc9b
1 file changed
lib/private/Security/SecureRandom.php
@@ -18,6 +18,13 @@
18
*/
19
class SecureRandom implements ISecureRandom {
20
#[\Override]
21
+ /**
22
+ * Generate a secure random string of specified length.
23
+ * @param int $length The length of the generated string
24
+ * @param string $characters An optional list of characters to use if no character list is
25
+ * specified all valid base64 characters are used.
26
+ * @throws \LengthException if an invalid length is requested
27
+ */
28
public function generate(
29
int $length,
30
string $characters = ISecureRandom::CHAR_BASE64_RFC4648,
0 commit comments