[Python-ideas] Using sha512 instead of md5 on python.org/downloads

Steven D'Aprano steve at pearwood.info
Fri Dec 7 23:14:18 EST 2018


On Sat, Dec 08, 2018 at 11:05:43AM +0900, INADA Naoki wrote:

> We already use SHA256 on PyPI.
> Many project in the world moving from md5 to SHA256.
[...]


How easy is it to use sha256 on the major platforms, compared to md5?

On Linux, it is just as easy:

[steve at ando ~]$ md5sum x.py
7008dcaa07fd35917474835425c6151a  x.py
[steve at ando ~]$ sha256sum x.py
6730dbf2b5ea5c874e789a39532b0e544af18fbea3c680880b01c81b773eabe2  x.py

but how about Windows and Mac users? Do those platforms provide a sha256 
checksum utility?

(Maybe we should provide both hashes.)


-- 
Steve


More information about the Python-ideas mailing list