php8.5
Home/ Manual/ radius / functions/ radius_salt_encrypt_attr

radius_salt_encrypt_attr

PHP function Edit on GitHub ✎

(PECL radius >= 1.3.0)

Salt-encrypts a value

Description

radius_salt_encrypt_attr(resource $radius_handle, string $data): string|false

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.

Parameters

data

The data to be salt-encrypted.

Return Values

Returns the salt-encrypted data Falseforfailure.

See Also

Source: reference/radius/functions/radius-salt-encrypt-attr.xml · from the official PHP manual (php/doc-en)