cd
test -f installed/pycrypto-2.0.1.tar.gz &&
mv installed/pycrypto-2.0.1.tar.gz .
test ! -f pycrypto-2.0.1.tar.gz &&
wget http://www.amk.ca/files/python/crypto/pycrypto-2.0.1.tar.gz
# Verify tarball w/ md5sum:
# (this came from my gpg-verified tarball)
echo "4d5674f3898a573691ffb335e8d749cd pycrypto-2.0.1.tar.gz" | md5sum -c
# Verify tarball w/ sha1sum:
# (this also came from my gpg-verified tarball)
echo "c77cdefdfb06e4749690013a9a9e1600ab14e26f pycrypto-2.0.1.tar.gz" | \
sha1sum -c