Answers for "How to create a hash digest for an encrypted file and how to verify it's authenticity"

0

How to create a hash digest for an encrypted file and how to verify it's authenticity

# To create a hash digest
openssl dgst -sha256 -sign private_key.pem -out <filename>.sha256 <filename>

# To verify
openssl dgst -sha256 -verify public_key.pem -signature <filename>.sha256 <filename>
Posted by: Guest on April-29-2022

Code answers related to "How to create a hash digest for an encrypted file and how to verify it's authenticity"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language