wp-includes/sodium_compat/src/Core32/XSalsa20.php:24Expand a key and nonce into an xsalsa20 keystream.
$lenint$noncestring$keystringstring public static function xsalsa20($len, $nonce, $key) { $ret = self::salsa20( $len, self::substr($nonce, 16, 8), self::hsalsa20($nonce, $key) ); return $ret; }Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/sodium_compat/src/Core32/XSalsa20.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.