Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

cryptography

Subcommands

SubcommandDescriptionSyntax
md5Calculates the MD5 hash of the nested expressionmd5(<expr>)
sha1Calculates the SHA1 hash of the nested expressionsha1(<expr>)
sha224Calculates the SHA224 hash of the nested expressionsha224(<expr>)
sha256Calculates the SHA256 hash of the nested expressionsha256(<expr>)
sha384Calculates the SHA384 hash of the nested expressionsha384(<expr>)
sha512Calculates the SHA512 hash of the nested expressionsha512(<expr>)
sha3_224Calculates the SHA3-224 hash of the nested expressionsha3_224(<expr>)
sha3_256Calculates the SHA3-256 hash of the nested expressionsha3_256(<expr>)
sha3_384Calculates the SHA3-384 hash of the nested expressionsha3_384(<expr>)
sha3_512Calculates the SHA3-512 hash of the nested expressionsha3_512(<expr>)

Examples

md5

| eval hash=md5(<expr>)

sha1

| eval hash=sha1(<expr>)

sha224

| eval hash=sha224(<expr>)

sha256

| eval hash=sha256(<expr>)

sha384

| eval hash=sha384(<expr>)

sha512

| eval hash=sha512(<expr>)

sha3_224

| eval hash=sha3_224(<expr>)

sha3_256

| eval hash=sha3_256(<expr>)

sha3_384

| eval hash=sha3_384(<expr>)

sha3_512

| eval hash=sha3_512(<expr>)