Solutions for Coursera Cryptography course in Java