mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-29 04:52:50 +08:00
78 lines
3.1 KiB
HTML
78 lines
3.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
<title>Salt-encrypts a value</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><div id="function.radius-salt-encrypt-attr" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">radius_salt_encrypt_attr</h1>
|
|
<p class="verinfo">(PECL radius >= 1.3.0)</p><p class="refpurpose"><span class="refname">radius_salt_encrypt_attr</span> — <span class="dc-title">Salt-encrypts a value</span></p>
|
|
|
|
</div>
|
|
|
|
<div class="refsect1 description" id="refsect1-function.radius-salt-encrypt-attr-description">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>radius_salt_encrypt_attr</strong></span>
|
|
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$radius_handle</code></span>
|
|
, <span class="methodparam"><span class="type">string</span> <code class="parameter">$data</code></span>
|
|
) : <span class="type">string</span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
Applies the RADIUS salt-encryption algorithm to the given value.
|
|
</p>
|
|
<p class="para">
|
|
In general, this is achieved automatically by providing the
|
|
<strong><code>RADIUS_OPTION_SALT</code></strong> option to an attribute setter
|
|
function, but this function can be used if low-level request construction
|
|
is required.
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 parameters" id="refsect1-function.radius-salt-encrypt-attr-parameters">
|
|
<h3 class="title">参数</h3>
|
|
<p class="para">
|
|
<dl>
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">data</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The data to be salt-encrypted.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 returnvalues" id="refsect1-function.radius-salt-encrypt-attr-returnvalues">
|
|
<h3 class="title">返回值</h3>
|
|
<p class="para">
|
|
Returns the salt-encrypted data 或者在失败时返回 <strong><code>FALSE</code></strong>.
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 seealso" id="refsect1-function.radius-salt-encrypt-attr-seealso">
|
|
<h3 class="title">参见</h3>
|
|
<p class="para">
|
|
<ul class="simplelist">
|
|
<li class="member"><span class="function"><a href="radius_put_addr.html" class="function" rel="rdfs-seeAlso">radius_put_addr()</a> - Attaches an IP address attribute</span></li>
|
|
<li class="member"><span class="function"><a href="radius_put_attr.html" class="function" rel="rdfs-seeAlso">radius_put_attr()</a> - Attaches a binary attribute</span></li>
|
|
<li class="member"><span class="function"><a href="radius_put_int.html" class="function" rel="rdfs-seeAlso">radius_put_int()</a> - Attaches an integer attribute</span></li>
|
|
<li class="member"><span class="function"><a href="radius_put_string.html" class="function" rel="rdfs-seeAlso">radius_put_string()</a> - Attaches a string attribute</span></li>
|
|
</ul>
|
|
</p>
|
|
</div>
|
|
|
|
</div></div></div></body></html> |