Openhood

Generate checksum of file with openssl

Image by by Thomas Kelley on unsplash

Here’s how to generate checksums of file using OpenSSL:

(out)# SHA256, used in chef cookbooks
openssl dgst -sha256 path/to/myfile
(out)
(out)# MD5
openssl dgst -md5 path/to/myfile
Copyright © 2024 Openhood SARL