Questions tagged [sha1sum]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
3answers
102 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 ...
3
votes
1answer
93 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 ...
0
votes
1answer
39 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.
0
votes
1answer
36 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 ...
9
votes
4answers
4k 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 ...
4
votes
1answer
965 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: ...