Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Digest.compare is missing and md5 doc update #5454
Original bug ID: 5454
Digest.compare would be nice to be able to directly give the module to Set.Make and Map.Make. Besides the doc states :
"The digests are of cryptographic quality: it is very hard, given a digest, to forge a string having that digest. The algorithm used is MD5."
The assertion is still true, however it should be mentioned that md5 is no longer secure in a malicious setting as it is vulnerable to collision attacks.