summaryrefslogtreecommitdiffstats
path: root/REFLECTION
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-09-07 07:23:34 +0200
committerRemi Collet <remi@php.net>2022-09-07 07:23:34 +0200
commit4c94547a9bfaa7d2f0108a6ec096b7230fd299ce (patch)
tree5cddef2dab61065f830440088497dacd62d5a449 /REFLECTION
parentc2fc70789a513ae0f4905f1d1b2691ffd71f8e53 (diff)
update to 2.0.0
Diffstat (limited to 'REFLECTION')
-rw-r--r--REFLECTION25
1 files changed, 14 insertions, 11 deletions
diff --git a/REFLECTION b/REFLECTION
index e38c4c3..72f4056 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #119 scrypt version 1.4.3 ] {
+Extension [ <persistent> extension #120 scrypt version 2.0.0 ] {
- Dependencies {
Dependency [ hash (Required) ]
@@ -7,22 +7,25 @@ Extension [ <persistent> extension #119 scrypt version 1.4.3 ] {
- Functions {
Function [ <internal:scrypt> function scrypt ] {
- - Parameters [6] {
- Parameter #0 [ <required> $password ]
- Parameter #1 [ <required> $salt ]
- Parameter #2 [ <required> $N ]
- Parameter #3 [ <required> $r ]
- Parameter #4 [ <required> $p ]
- Parameter #5 [ <required> $keyLength ]
+ - Parameters [7] {
+ Parameter #0 [ <required> string $password ]
+ Parameter #1 [ <required> string $salt ]
+ Parameter #2 [ <required> int $N ]
+ Parameter #3 [ <required> int $r ]
+ Parameter #4 [ <required> int $p ]
+ Parameter #5 [ <required> int $key_length ]
+ Parameter #6 [ <optional> bool $raw_output = false ]
}
+ - Return [ string|false ]
}
Function [ <internal:scrypt> function scrypt_pickparams ] {
- Parameters [3] {
- Parameter #0 [ <required> $maxMemory ]
- Parameter #1 [ <required> $memFraction ]
- Parameter #2 [ <required> $maxTime ]
+ Parameter #0 [ <required> int $max_memory ]
+ Parameter #1 [ <required> float $memory_fraction ]
+ Parameter #2 [ <required> float $max_time ]
}
+ - Return [ array|false ]
}
}
}