File: crypt_blowfish.phpt

package info (click to toggle)
php-suhosin 0.9.12-1etch1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 596 kB
  • ctags: 745
  • sloc: ansic: 7,576; makefile: 100; sh: 34; php: 15
file content (13 lines) | stat: -rw-r--r-- 278 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
CRYPT_BLOWFISH support
--SKIPIF--
<?php include "../skipif.inc"; ?>
--FILE--
<?php
    var_dump(CRYPT_BLOWFISH);
    echo crypt('rasmuslerdorf', '$2a$07$rasmuslerd...........$') . "\n";
?>
--EXPECT--
int(1)
$2a$07$rasmuslerd............nIdrcHdxcUxWomQX9j6kvERCFjTg7Ra