Created
November 20, 2014 15:44
-
-
Save phred/aca9bc3aad422acc0c55 to your computer and use it in GitHub Desktop.
sha2sum.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
openssl x509 -in "$1" -noout -modulus | paste <( echo $1 ) <( shasum -a 256 ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment