Useful tools for doing crypto in python