

2 changed files with 1 additions and 18 deletions
@ -1,16 +0,0 @@ |
|||||||
#!/bin/bash |
|
||||||
shift |
|
||||||
ALGO=$1 |
|
||||||
shift |
|
||||||
case $ALGO in |
|
||||||
1) |
|
||||||
sha1sum $@ |
|
||||||
;; |
|
||||||
256) |
|
||||||
sha256sum $@ |
|
||||||
;; |
|
||||||
*) |
|
||||||
>&2 echo "Algorithm $ALGO not found" |
|
||||||
exit 1 |
|
||||||
;; |
|
||||||
esac |
|
Loading…
Reference in new issue