<?php $options = [ 'salt' => "AAAAAAAAAAAAAAAAAAAAAA", ]; $strings = [ "hello", "hello\x00", "hello\x00hello", "hello\x00hello\x00", "hello\x00hello\x00hello\x00hello\x00", "hello\x00php doesn't care about this", "ohai", ]; foreach ($strings as $str) { print password_hash($str, PASSWORD_BCRYPT, $options) . "\n"; }
You have javascript disabled. You will not be able to edit any code.