Last active
June 7, 2024 08:34
-
-
Save ajeebkp23/70d9a774dded1a03659767b3f8a1f9e5 to your computer and use it in GitHub Desktop.
Compare sha 256 with file
This file contains 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
# https://security.stackexchange.com/a/219325 | |
sha256() { | |
echo "$1 $2" | sha256sum --check | |
} | |
# sha256 <expected-sha-256-sum> <name-of-the-file> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment