This is the solution to the Week 1 programming assignment for the Cryptography I course on Coursera.