edu.vt.middleware.crypt.digest.DigestCli.examples Maven / Gradle / Ivy
- Print the MD5 hash of a word or phrase as a hex string
echo -n secret | digest -alg md5 -encoding hex
- Print the SHA-1 fingerprint of a file
digest -alg sha1 -in path/to/file.txt -encoding hex
© 2015 - 2025 Weber Informatics LLC | Privacy Policy