array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'es', ), 'this' => array ( 0 => 'function.radius-salt-encrypt-attr.php', 1 => 'radius_salt_encrypt_attr', ), 'up' => array ( 0 => 'ref.radius.php', 1 => 'Funciones Radius', ), 'prev' => array ( 0 => 'function.radius-request-authenticator.php', 1 => 'radius_request_authenticator', ), 'next' => array ( 0 => 'function.radius-send-request.php', 1 => 'radius_send_request', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/radius/functions/radius-salt-encrypt-attr.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL radius >= 1.3.0)
radius_salt_encrypt_attr — Salt-encrypts a value
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 o false
en caso de error.