when i use
echo -n "$str" |sha224sum
it gets me the checksum ends with "-"
how to get the checksum without it ?
Thanks
when i use
echo -n "$str" |sha224sum
it gets me the checksum ends with "-"
how to get the checksum without it ?
Thanks
Cut the first field:
$ echo -n "$str" | sha224sum | cut -d' ' -f1
23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7