JP Vossen via plug on 25 Sep 2022 15:08:17 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] free courses, systemd Win, hashquines |
On 9/25/22 16:53, Walt Mankowski via plug wrote:
On Sun, Sep 25, 2022 at 03:01:41PM -0400, JP Vossen via plug wrote:On 9/25/22 04:29, brent timothy saner via plug wrote:On 9/24/22 16:30, Walt Mankowski via plug wrote:...I don't trust MD5 for external files, but I still run md5sum on directories to check for duplicate files, mainly because it's a lot faster than sha1sum. Are there alternatives you recommend?...Mini-Rosetta for you: (SH) md5sum => b2sum (part of coreutils; it's likely already installed)It was already installed for me on Debian-10, which is near EoL. But holy cow the hashes are long! I use `md5sum` to compare files a lot [1], in part because the hashes are short and don't make my eyes & brain bleed.That was my reaction too. You can make them shorter with the -l parameter, but who knows what that does to the robustness of the algorithm?
Probably still better than MD5? :-) But...I can remember `md5sum`, not sure how long I'm going to remember `b2sum -l 48`. ... Later, JP -- ------------------------------------------------------------------- JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.com/ ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug