Don't know much python, don't know much crypto - playing around with it here.