Skip to content

Instantly share code, notes, and snippets.

@hashbrowncipher
Created November 16, 2011 15:50
Show Gist options
  • Save hashbrowncipher/1370430 to your computer and use it in GitHub Desktop.
Save hashbrowncipher/1370430 to your computer and use it in GitHub Desktop.
SHA1 example
$ echo -n "" | sha1sum
da39a3ee5e6b4b0d3255bfef95601890afd80709 -
$ echo -n "Hello" | sha1sum
f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0 -
$ echo -n "Goodbye" | sha1sum
b5b29c53e3c71cb9c6581ab053d7758fab8ca24d -
$ echo -n "Jim" | sha1sum
7627f9952b9c378edc494c5751804403e5973074 -
$ echo -n "Jam" | sha1sum
9d0eb3ad554bcf741ec708559e3ce1993f0df9f1 -
$ cat googleearth_6.0.3.2197+0.6.0-1_amd64.deb | sha1sum
11e7d3bfa882e30a712696bec5c0d09e8054beba -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment