I want to store the file's hash to the database, so I can check next time to see if that file was already uploaded (even if it was renamed).

What would be the best (= fastest + small chance of collision) algorithm in this case?

Is crc32 a good choice?

Thank you in advance,
Martin

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to