edited crypt.py