diff options
| author | Ben Fuhrmannek | 2016-02-22 22:03:28 +0100 |
|---|---|---|
| committer | Ben Fuhrmannek | 2016-02-22 22:03:28 +0100 |
| commit | 35b7c9a0e3f8a0daf1718a8ba9889a2aec24dc84 (patch) | |
| tree | 7c074d9d6cda30dd00516c3347680e48c6975a57 /tests/funcs/crypt_blowfish.phpt | |
| parent | f365d212edbaab4058875fe39623a97befbf98b0 (diff) | |
tests for crypto functions
Diffstat (limited to 'tests/funcs/crypt_blowfish.phpt')
| -rw-r--r-- | tests/funcs/crypt_blowfish.phpt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/funcs/crypt_blowfish.phpt b/tests/funcs/crypt_blowfish.phpt new file mode 100644 index 0000000..f48e411 --- /dev/null +++ b/tests/funcs/crypt_blowfish.phpt | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | --TEST-- | ||
| 2 | CRYPT_BLOWFISH support | ||
| 3 | --SKIPIF-- | ||
| 4 | <?php include "../skipif.inc"; ?> | ||
| 5 | --FILE-- | ||
| 6 | <?php | ||
| 7 | var_dump(CRYPT_BLOWFISH); | ||
| 8 | echo crypt('rasmuslerdorf', '$2a$07$rasmuslerd...........$') . "\n"; | ||
| 9 | ?> | ||
| 10 | --EXPECT-- | ||
| 11 | int(1) | ||
| 12 | $2a$07$rasmuslerd............nIdrcHdxcUxWomQX9j6kvERCFjTg7Ra | ||
| 13 | |||
