????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 18.226.185.23 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/home/b8009/php-5.6.22/ext/openssl/tests/ |
Upload File : |
--TEST-- openssl_pbkdf2() tests --SKIPIF-- <?php if (!extension_loaded("openssl") || !function_exists("openssl_pbkdf2")) print "skip"; ?> --FILE-- <?php // official test vectors var_dump(bin2hex(openssl_pbkdf2('password', 'salt', 20, 1))); var_dump(bin2hex(openssl_pbkdf2('password', 'salt', 20, 2))); var_dump(bin2hex(openssl_pbkdf2('password', 'salt', 20, 4096))); /* really slow but should be: string(40) "eefe3d61cd4da4e4e9945b3d6ba2158c2634e984" var_dump(bin2hex(openssl_pbkdf2('password', 'salt', 20, 16777216))); */ var_dump(bin2hex(openssl_pbkdf2('passwordPASSWORDpassword', 'saltSALTsaltSALTsaltSALTsaltSALTsalt', 25, 4096))); var_dump(bin2hex(openssl_pbkdf2("pass\0word", "sa\0lt", 16, 4096))); ?> --EXPECTF-- string(40) "0c60c80f961f0e71f3a9b524af6012062fe037a6" string(40) "ea6c014dc72d6f8ccd1ed92ace1d41f0d8de8957" string(40) "4b007901b765489abead49d926f721d065a429c1" string(50) "3d2eec4fe41c849b80c8d83662c0e44a8b291a964cf2f07038" string(32) "56fa6aa75548099dcc37d7f03425e0c3"