PHP - Manual: radius_salt_encrypt_attr
2024-11-14
(PECL radius >= 1.3.0)
radius_salt_encrypt_attr — Salt-encrypts a value
$radius_handle
, string $data
): string|falseApplies the RADIUS salt-encryption algorithm to the given value.
In general, this is achieved automatically by providing the
RADIUS_OPTION_SALT
option to an attribute setter
function, but this function can be used if low-level request construction
is required.
data
The data to be salt-encrypted.
Returns the salt-encrypted data 或者在失败时返回 false
.
官方地址:https://www.php.net/manual/en/function.radius-salt-encrypt-attr.php