update : 2015.11.03
php.shukuma.com검색:
|
hash_pbkdf2(PHP 5 >= 5.5.0) hash_pbkdf2 — Generate a PBKDF2 key derivation of a supplied password 설명
string hash_pbkdf2
( string
$algo
, string $password
, string $salt
, int $iterations
[, int $length = 0
[, bool $raw_output = false
]] )인수
반환값
Returns a string containing the derived key as lowercase hexits unless
오류/예외
An 예제
Example #1 hash_pbkdf2() example, basic usage
<?php 위 예제의 출력 예시: 120fb6cffcf8b32c43e7 주의Caution
The PBKDF2 method can be used for hashing passwords for storage. However, it
should be noted that password_hash() or
crypt() with 참고
|