For coursera cryptography class