Forrest logo
back to context overview

openssl-dgst

List of commands for openssl-dgst:

  • openssl-dgst:tldr:2c8ca openssl-dgst: Sign a file using and ECDSA key.
    $ openssl dgst -sign ${private_key_file} -sha256 -out ${output_file} ${input_file}
    try on your machine
    explain this command
  • openssl-dgst:tldr:4f448 openssl-dgst: Sign a file using an RSA key, saving the result to a specific file.
    $ openssl dgst -sign ${private_key_file} -sha256 -sigopt rsa_padding_mode:pss -out ${output_file} ${input_file}
    try on your machine
    explain this command
  • openssl-dgst:tldr:5ae71 openssl-dgst: Verify an ECDSA signature.
    $ openssl dgst -verify ${public_key_file} -signature ${signature_file} ${signature_message_file}
    try on your machine
    explain this command
  • openssl-dgst:tldr:ab8cd openssl-dgst: Calculate the SHA256 digest for a file, saving the result to a specific file.
    $ openssl dgst -sha256 -binary -out ${output_file} ${input_file}
    try on your machine
    explain this command
  • openssl-dgst:tldr:b9f99 openssl-dgst: Verify an RSA signature.
    $ openssl dgst -verify ${public_key_file} -signature ${signature_file} -sigopt rsa_padding_mode:pss ${signature_message_file}
    try on your machine
    explain this command
back to context overview