EVP_MD-SHA2 - The SHA2 EVP_MD implementation
| Use Case | Command | Description |
|---|---|---|
| đ Generate SHA-256 hash of a file | openssl dgst -sha256 <file> |
Computes the SHA-256 digest of the given file. |
| đ Generate SHA-512 hash of a file | openssl dgst -sha512 <file> |
Computes the SHA-512 digest of the given file. |
| đ Generate SHA-224 hash of a file | openssl dgst -sha224 <file> |
Computes the SHA-224 digest of the given file. |
| đ Generate SHA-384 hash of a file | openssl dgst -sha384 <file> |
Computes the SHA-384 digest of the given file. |
| đ List available digest commands | openssl list -digest-commands |
Lists all available digest algorithms, including SHA2 variants. |
| đ Display help for the digest command | openssl dgst -help |
Shows usage information and available options for the dgst command. |
Support for computing SHA2 digests through the EVP_MD API.
This implementation includes the following varieties:
FIPS & Default Provider:
Default Provider only:
This implementation supports the common gettable parameters described in EVP_MD-common(7).
provider-digest(7), OSSL_PROVIDER-FIPS(7), OSSL_PROVIDER-default(7)
Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at https://www.openssl.org/source/license.html.
3.0.2 2026-06-02 EVP_MD-SHA2(7SSL)
Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-04 07:32 @216.73.216.183
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format