Compare and verify files using CRC, hash, signature, or fingerprint

Fingerprint a certificate
SHA-256
openssl x509 -noout -fingerprint -sha256 -inform pem -in [certificate-file.crt]
SHA-1
openssl x509 -noout -fingerprint -sha1 -inform pem -in [certificate-file.crt]
MD5
openssl x509 -noout -fingerprint -md5 -inform pem -in [certificate-file.crt]

Reference: https://community.rsa.com/t5/securid-knowledge-base/how-to-view-a-certificate-fingerprint-as-sha-256-sha-1-or-md5/ta-p/4230

Fingerprint a file [hash, signature, CRC, checksum]
CRC-32
crc32 [filename]
MD5
md5sum [filename]
SHA-256
sha256sum [filename]
SHA-1 (SHA-generic, multiple methods
shasum [filename]
3 / 2023