?

Log in

No account? Create an account
chris/CO149
co149
.:::: .. .:.. .:: .:: ::. ::::..:: :..::.
November 2010
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

chris/CO149 [userpic]
Quantum Signature Checker

#! /bin/bash
esig="d41d8cd98f00b204e9800998ecf8427e"
rsig=`/usr/bin/md5sum /dev/null | cut -d ' ' -f 1`
echo ""
echo QUANTUM SIGNATURE CHECK
echo -------------------------------------------------------------
echo Expected Quantum Signature:  ${esig}
echo Received Quantum Signature:  ${rsig}
echo -------------------------------------------------------------
if [ "${esig}" = "${rsig}" ]; then
  echo Result:  PASS
else
  echo Result:  FAIL
fi
echo ""