Homework for a coursera course on crypto (Stanford, Dan Boneh, Cryptography 1)