GoLang radius_salt_encrypt_attr

request it (277)
GoLang replacement for PHP's radius_salt_encrypt_attr [edit | history]

Do you know a GoLang replacement for PHP's radius_salt_encrypt_attr? Write it!

PHP radius_salt_encrypt_attr

PHP original manual for radius_salt_encrypt_attr [ show | php.net ]


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



The data to be salt-encrypted.

Return Values

Returns the salt-encrypted data or FALSE on failure.

See Also