Skip to content

ivanrad/hashsponge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hashsponge

Soak up standard input, and write to standard output if checksum matches the given argument. That's all.

example

$ echo "hello, world!" | ./hashsponge 4dca0fd5f424a31b03ab807cbae77eb32bf2d089eed1cee154b3afed458de0dc
hello, world!

$ echo "hello, world!" | ./hashsponge 12345678
error: hash mismatch (input hash: 4dca0fd5f424a31b03ab807cbae77eb32bf2d089eed1cee154b3afed458de0dc)

$ echo "hello" | ./hashsponge -q 1234 || echo $?
1

About

 🧽 quick&dirty sponge-like util with a hash/checksum twist

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages