summaryrefslogtreecommitdiffstats
path: root/lib/public/security/isecurerandom.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/security/isecurerandom.php')
-rw-r--r--lib/public/security/isecurerandom.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/public/security/isecurerandom.php b/lib/public/security/isecurerandom.php
index 9a91a2f027a..69e6ec21b13 100644
--- a/lib/public/security/isecurerandom.php
+++ b/lib/public/security/isecurerandom.php
@@ -31,6 +31,7 @@ namespace OCP\Security;
* $randomString = $rng->getMediumStrengthGenerator()->generateString(30);
*
* @package OCP\Security
+ * @since 8.0.0
*/
interface ISecureRandom {
@@ -50,6 +51,7 @@ interface ISecureRandom {
* used as keys or salts. They are however useful for one-time use tokens.
*
* @return $this
+ * @since 8.0.0
*/
public function getLowStrengthGenerator();
@@ -61,6 +63,7 @@ interface ISecureRandom {
* take some time and resources to generate, so they should not be over-used
*
* @return $this
+ * @since 8.0.0
*/
public function getMediumStrengthGenerator();
@@ -71,6 +74,7 @@ interface ISecureRandom {
* specified all valid base64 characters are used.
* @return string
* @throws \Exception If the generator is not initialized.
+ * @since 8.0.0
*/
public function generate($length, $characters = '');
}