|
Command
|
Purpose
|
openssl version |
Version
|
openssl rand -hex 16 |
Generate random data
|
openssl dgst -sha256 FILE |
SHA-256 digest
|
openssl x509 -in cert.pem -text -noout |
View certificate
|
openssl s_client -connect host:443 |
Inspect server certificate
|
|
Command
|
Purpose
|
md5sum FILE |
MD5 hash
|
sha1sum FILE |
SHA-1 hash
|
sha256sum FILE |
SHA-256 hash
|
sha512sum FILE |
SHA-512 hash
|
sha256 sum -c file.sha256 |
Verify checksum
|
|
Command
|
Purpose
|
gpg --gen-key |
Generate key
|
gpg -e FILE |
Encrypt
|
gpg --list-keys |
List keys
|
gpg --verify FILE.sig |
Verify signature
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.