PyCryptsy updated for more robustness