Radius 函数
PHP 手册

radius_salt_encrypt_attr

(PECL radius >= 1.3.0)

radius_salt_encrypt_attrSalt-encrypts a value

说明

string radius_salt_encrypt_attr ( resource $radius_handle , string $data )

Applies 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.

参见


Radius 函数
PHP 手册