Assignment 2: Crypto Vulnerabilities Solution