Print a random number between 1000 and 9999 and its MD5 hash:
echo "Random number: $(shuf -i 1000-9999 -n 1 | head -1)"; echo "MD5 hash: $(md5 -qs $(shuf -i 1000-9999 -n 1 | head -1))"
shuf -i 1000-9999 -n 1 | head -1 | xargs -I {} echo 'echo "{}": $( md5 -qs {} )' | bash