Re: [RFC] deprecate md5_file and sha1_file

This is only part of a thread. view whole thread
February 10, 2020 22:36 (Mark Randall)
On 10/02/2020 21:49, Tom Van Looy via internals wrote:
> I suggest to deprecated the functions md5_file() and sha1_file(). This will > make people think about upgrading to a better alternative.
It won't. At best it will make people switch to the hash function. At worst people will not upgrade. If people are using the existing md5 / sha1 algorithms, chances are it's because they're actually wanting to get a hash to compare to something that has already been stored. There's not much point in deprecating the algorithm if we don't eventually plan to remove it, and there is an exactly zero percent chance of it being removed at any point in the next 50 years. Mark Randall