aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/security/isecurerandom.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/public/security/isecurerandom.php b/lib/public/security/isecurerandom.php
index 3de60f8d717..b4c488b7f37 100644
--- a/lib/public/security/isecurerandom.php
+++ b/lib/public/security/isecurerandom.php
@@ -53,9 +53,10 @@ interface ISecureRandom {
/**
* Generate a random string of specified length.
* @param string $length The length of the generated string
- * @param string $characters An optional list of characters to use
+ * @param string $characters An optional list of characters to use if no characterlist is
+ * specified all valid base64 characters are used.
* @return string
- * @throws \Exception
+ * @throws \Exception If the generator is not initialized.
*/
public function generate($length, $characters = '');
}