<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/refs.crypto.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'book.password.php',
    1 => '密码散列算法',
    2 => '密码散列算法',
  ),
  'up' => 
  array (
    0 => 'refs.crypto.php',
    1 => '加密扩展',
  ),
  'prev' => 
  array (
    0 => 'class.opensslasymmetrickey.php',
    1 => 'OpenSSLAsymmetricKey',
  ),
  'next' => 
  array (
    0 => 'password.setup.php',
    1 => '安装/配置',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'zh',
    'path' => 'reference/password/book.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/book.password.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="book.password" class="book">
 
 <h1 class="title">密码散列算法</h1>

 <div id="intro.password" class="preface">
  <h1 class="title">简介</h1>
  <p class="para">
   密码散列算法 API 提供了 <span class="function"><a href="function.crypt.php" class="function">crypt()</a></span> 等密码算法的简单易用包装，
   以一种简洁易用安全的方式创建和管理密码。
  </p>
 </div>

 









 







 










<ul class="chunklist chunklist_book"><li><a href="password.setup.php">安装/配置</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="password.requirements.php">需求</a></li><li><a href="password.installation.php">安装</a></li></ul></li><li><a href="password.constants.php">预定义常量</a></li><li><a href="ref.password.php">密码散列算法函数</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.password-algos.php">password_algos</a> — Get available password hashing algorithm IDs</li><li><a href="function.password-get-info.php">password_get_info</a> — 返回指定散列（hash）的相关信息</li><li><a href="function.password-hash.php">password_hash</a> — 创建密码的散列（hash）</li><li><a href="function.password-needs-rehash.php">password_needs_rehash</a> — 检测散列值是否匹配指定的选项</li><li><a href="function.password-verify.php">password_verify</a> — 验证密码是否和散列值匹配</li></ul></li></ul></div><?php manual_footer($setup); ?>