Last active
March 22, 2022 14:45
-
-
Save azyu/d08d74376beb59b1fdd44b0dc438dbed to your computer and use it in GitHub Desktop.
openssl sha256 sign / verify command line
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
openssl dgst -sha256 -sign private.pem -out text.txt.rsa text.txt | |
openssl dgst -sha256 -verify public.pem -signature text.txt.rsa text.txt | |
cat text.txt.rsa | base64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment