summaryrefslogtreecommitdiffstats
path: root/REFLECTION
diff options
context:
space:
mode:
Diffstat (limited to 'REFLECTION')
-rw-r--r--REFLECTION32
1 files changed, 19 insertions, 13 deletions
diff --git a/REFLECTION b/REFLECTION
index a237d8c..84ab82d 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,6 +1,6 @@
-Extension [ <persistent> extension #121 libsodium version 1.0.6 ] {
+Extension [ <persistent> extension #102 libsodium version 1.0.7 ] {
- - Constants [58] {
+ - Constants [61] {
Constant [ integer Sodium\CRYPTO_AEAD_AES256GCM_KEYBYTES ] { 32 }
Constant [ integer Sodium\CRYPTO_AEAD_AES256GCM_NSECBYTES ] { 0 }
Constant [ integer Sodium\CRYPTO_AEAD_AES256GCM_NPUBBYTES ] { 12 }
@@ -31,14 +31,17 @@ Extension [ <persistent> extension #121 libsodium version 1.0.6 ] {
Constant [ integer Sodium\CRYPTO_GENERICHASH_KEYBYTES ] { 32 }
Constant [ integer Sodium\CRYPTO_GENERICHASH_KEYBYTES_MIN ] { 16 }
Constant [ integer Sodium\CRYPTO_GENERICHASH_KEYBYTES_MAX ] { 64 }
+ Constant [ integer Sodium\CRYPTO_PWHASH_ALG_ARGON2I13 ] { 1 }
+ Constant [ integer Sodium\CRYPTO_PWHASH_ALG_ARGON2ID13 ] { 2 }
+ Constant [ integer Sodium\CRYPTO_PWHASH_ALG_DEFAULT ] { 2 }
Constant [ integer Sodium\CRYPTO_PWHASH_SALTBYTES ] { 16 }
- Constant [ string Sodium\CRYPTO_PWHASH_STRPREFIX ] { $argon2i$ }
- Constant [ integer Sodium\CRYPTO_PWHASH_OPSLIMIT_INTERACTIVE ] { 4 }
- Constant [ integer Sodium\CRYPTO_PWHASH_MEMLIMIT_INTERACTIVE ] { 33554432 }
- Constant [ integer Sodium\CRYPTO_PWHASH_OPSLIMIT_MODERATE ] { 6 }
- Constant [ integer Sodium\CRYPTO_PWHASH_MEMLIMIT_MODERATE ] { 134217728 }
- Constant [ integer Sodium\CRYPTO_PWHASH_OPSLIMIT_SENSITIVE ] { 8 }
- Constant [ integer Sodium\CRYPTO_PWHASH_MEMLIMIT_SENSITIVE ] { 536870912 }
+ Constant [ string Sodium\CRYPTO_PWHASH_STRPREFIX ] { $argon2id$ }
+ Constant [ integer Sodium\CRYPTO_PWHASH_OPSLIMIT_INTERACTIVE ] { 2 }
+ Constant [ integer Sodium\CRYPTO_PWHASH_MEMLIMIT_INTERACTIVE ] { 67108864 }
+ Constant [ integer Sodium\CRYPTO_PWHASH_OPSLIMIT_MODERATE ] { 3 }
+ Constant [ integer Sodium\CRYPTO_PWHASH_MEMLIMIT_MODERATE ] { 268435456 }
+ Constant [ integer Sodium\CRYPTO_PWHASH_OPSLIMIT_SENSITIVE ] { 4 }
+ Constant [ integer Sodium\CRYPTO_PWHASH_MEMLIMIT_SENSITIVE ] { 1073741824 }
Constant [ integer Sodium\CRYPTO_PWHASH_SCRYPTSALSA208SHA256_SALTBYTES ] { 32 }
Constant [ string Sodium\CRYPTO_PWHASH_SCRYPTSALSA208SHA256_STRPREFIX ] { $7$ }
Constant [ integer Sodium\CRYPTO_PWHASH_SCRYPTSALSA208SHA256_OPSLIMIT_INTERACTIVE ] { 524288 }
@@ -242,12 +245,13 @@ Extension [ <persistent> extension #121 libsodium version 1.0.6 ] {
}
Function [ <internal:libsodium> function Sodium\crypto_pwhash ] {
- - Parameters [5] {
+ - Parameters [6] {
Parameter #0 [ <required> $length ]
Parameter #1 [ <required> $password ]
Parameter #2 [ <required> $salt ]
Parameter #3 [ <required> $opslimit ]
Parameter #4 [ <required> $memlimit ]
+ Parameter #5 [ <optional> $alg ]
}
}
Function [ <internal:libsodium> function Sodium\crypto_pwhash_str ] {
@@ -267,12 +271,13 @@ Extension [ <persistent> extension #121 libsodium version 1.0.6 ] {
}
Function [ <internal:libsodium> function Sodium\crypto_pwhash_scryptsalsa208sha256 ] {
- - Parameters [5] {
+ - Parameters [6] {
Parameter #0 [ <required> $length ]
Parameter #1 [ <required> $password ]
Parameter #2 [ <required> $salt ]
Parameter #3 [ <required> $opslimit ]
Parameter #4 [ <required> $memlimit ]
+ Parameter #5 [ <optional> $alg ]
}
}
Function [ <internal:libsodium> function Sodium\crypto_pwhash_scryptsalsa208sha256_str ] {
@@ -438,8 +443,9 @@ Extension [ <persistent> extension #121 libsodium version 1.0.6 ] {
}
Function [ <internal:libsodium> function Sodium\compare ] {
- - Parameters [1] {
- Parameter #0 [ <required> $string ]
+ - Parameters [2] {
+ Parameter #0 [ <required> $string_1 ]
+ Parameter #1 [ <required> $string_2 ]
}
}
Function [ <internal:libsodium> function Sodium\hex2bin ] {