public static function ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_rekey in Automatic Updates 8
Same name and namespace in other branches
- 7 vendor/paragonie/sodium_compat/src/Compat.php \ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_rekey()
Parameters
string $state:
Return value
void
Throws
SodiumException
1 call to ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_rekey()
- php72compat.php in vendor/
paragonie/ sodium_compat/ lib/ php72compat.php
File
- vendor/
paragonie/ sodium_compat/ src/ Compat.php, line 2499
Class
Code
public static function crypto_secretstream_xchacha20poly1305_rekey(&$state) {
if (PHP_INT_SIZE === 4) {
ParagonIE_Sodium_Crypto32::secretstream_xchacha20poly1305_rekey($state);
}
else {
ParagonIE_Sodium_Crypto::secretstream_xchacha20poly1305_rekey($state);
}
}