https://class.coursera.org/crypto-012