RosettaCodeData/Task/SHA-1/UNIX-Shell/sha-1-2.sh

3 lines
98 B
Bash

$ echo -n 'ASCII string' | openssl sha1 | sed 's/.*= //'
9e9aeefe5563845ec5c42c5630842048c0fc261b