Questions tagged [sha1sum]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
3 answers
234 views

verify sha1sum and print directory & filename of corrupt files

I have a series of directories with sha1sums and md5sums files in. The format of these files is the usual hash space space filename, with one hash/file per line. I want to verify the files and print ...
user avatar
  • 3
2 votes
1 answer
635 views

sha1sum reports that checksums do not match even though they are identical

Perhaps I'm doing something very stupid here, but Google hasn't been very helpful in resolving the problem. I have an archive of files I made for backup purposes. I've generated an SHA1 checksum file ...
user avatar
0 votes
1 answer
107 views

How to calculate the checksum of a file's name?

I tried with openssl as it is very fast: openssl sha1 "$(basename "very_big_image.png")" But this just substitutes the actual file for check summing.
user avatar
0 votes
1 answer
96 views

How do I know an open-sourced app is running the open source code it claims to be running? [duplicate]

You can argue that you can check the checksum of the application's package, but you are then trusting the developer to have compiled the right code and provided the right signature. Is there a way to ...
user avatar
14 votes
6 answers
10k views

Print SHA sums without "-" at the end?

Is it possible to have SHA sums print without the - appended to the end? $ echo test | sha1sum 4e1243bd22c66e76c2ba9eddc1f91394e57f9f83 - <--- this "-" dash/hyphen I know we can use awk and ...
user avatar
4 votes
1 answer
1k views

How can the sha1sum function give you a unique hash? [closed]

I read that using the sha1sum command will run the SHA-1 algorithm and give you a "unique" result, but how can that be? sha1sum gives you a 40 character hash, like this: ...
user avatar
  • 393