PHP - Manual: sodium_memzero
2024-11-13
(PHP 7 >= 7.2.0, PHP 8)
sodium_memzero — Overwrite a string with NUL characters
&$string
): voidsodium_memzero() zeroes out the string that is passed by reference.
string
String.
没有返回值。
官方地址:https://www.php.net/manual/en/function.sodium-memzero.php