1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-29 18:08:46 +00:00
hashcat/deps/phc-winner-argon2-20190702/kats/check-sums.sh

14 lines
243 B
Bash

#!/bin/sh
for file in `ls | grep '^[a-z2]*\(_v\)\?[0-9]*$' | xargs`
do
new=`shasum -a 256 $file`
old=`cat $file.shasum`
if [ "$new" = "$old" ]
then
echo $file "\t" OK
else
echo $file "\t" ERROR
fi
done