You are not logged in.

#1 2010-08-18 11:51:00

kralyk
Member
Registered: 2009-04-27
Posts: 73

Hash algo usage stats

Hi,
just made some stats today about how much each hash algo
is used throughout ABS:

vojta|vojta-dell /var/abs $> find -name PKGBUILD -exec more {} \; | grep md5sums | wc -l
3816
vojta|vojta-dell /var/abs $> find -name PKGBUILD -exec more {} \; | grep sha1sums | wc -l
353
vojta|vojta-dell /var/abs $> find -name PKGBUILD -exec more {} \; | grep sha256sums | wc -l
258
vojta|vojta-dell /var/abs $> find -name PKGBUILD -exec more {} \; | grep sha384sums | wc -l
0
vojta|vojta-dell /var/abs $> find -name PKGBUILD -exec more {} \; | grep sha512sums | wc -l
0

(may not be 100% accurate as ABS constantly changes of course)

Just posting it in case someone found it interesting...
Also, what algo do you recommend for PKGBUILDs?
In AUR I usually stick to md5, but lately I've been switching to sha256... I know, it's a bit paranoic :-D

Last edited by kralyk (2010-08-18 12:00:17)

Offline

Board footer

Powered by FluxBB