Hash Generator

Generate cryptographic hashes from text input.

Commands

devv hash "hello world" sha256
devv hash "hello world" sha512
devv hash "hello world" md5
echo "file contents" | devv hash - sha256

Examples

# Hash a password for comparison
devv hash "mysecretpassword" sha256

# Hash a file
cat secret.txt | devv hash - sha512

# Quick MD5 checksum
echo "test" | devv hash - md5

Output

$ devv hash "hello world" sha256
b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9

$ devv hash "hello world" md5
5eb63bbbe01eeed093cb22bb8f5acdc3

Pipeline Usage

Pipeline ID Description
hash-generator Hash the input (default: SHA-256)
devv pipe exec "json-formatter | hash-generator sha256" '{"data":"secret"}'
devv pipe exec "base64-decode | hash-generator md5" "aGVsbG8="

Options in pipelines

hash-generator sha256
hash-generator sha512
hash-generator md5

Behavior

Passthrough — the original input is forwarded to the next pipeline step. The hash result is displayed but doesn't replace the data flowing through.

Algorithms

Algorithm Output Length
md5 32 characters
sha256 64 characters (default)
sha512 128 characters
Was this page helpful?