what function hash file should use? did speed comparison , second 1 second faster on bigger, 40 mb file, php function faster on small files. more correct use?
$sha1 = sha1_file($path); $sha1 = array_shift(explode(" ", `sha1sum $path`));
what function hash file should use? did speed comparison , second 1 second faster on bigger, 40 mb file, php function faster on small files. more correct use?
$sha1 = sha1_file($path); $sha1 = array_shift(explode(" ", `sha1sum $path`));
Comments
Post a Comment