source: branches/version-2_5-dev/data/module/Compat/Compat/Function/hash_algos.php @ 19986

Revision 19986, 588 bytes checked in by AMUAMU, 13 years ago (diff)

#818 (パスワードリマインダの答えのハッシュ暗号化) の解決
#819 (パスワードのハッシュ暗号化の強化) の解決
#335 (パスワードリマインダの改修) の準備修正
#895 (会員登録完了ページのタイトル異常) の解決
#899 (会員登録時にパスワードが正しく登録されない) の解決
#744 (PHP4 互換用途ソースを将来的に切り捨てやすい仕組みづくり) 関連の修正も含む

Line 
1<?php
2
3/**
4 * Replace hash_algos()
5 *
6 * @category    PHP
7 * @package     PHP_Compat
8 * @license     LGPL - http://www.gnu.org/licenses/lgpl.html
9 * @copyright   2004-2007 Aidan Lister <aidan@php.net>, Arpad Ray <arpad@php.net>
10 * @link        http://php.net/function.hash_algos
11 * @author      revulo <revulon@gmail.com>
12 * @since       PHP 5.1.2
13 * @require     PHP 4.0.0
14 */
15function php_compat_hash_algos()
16{
17    return array('md5', 'sha1', 'sha256');
18}
19
20
21// Define
22if (!function_exists('hash_algos')) {
23    function hash_algos()
24    {
25        return php_compat_hash_algos();
26    }
27}
Note: See TracBrowser for help on using the repository browser.