Crypton is an educational library to learn and practice Offensive and Defensive Cryptography. It is a collection of explanations and implementation of all the existing vulnerabilities and attacks on various Encryption Systems (Symmetric and Asymmetric), Digital Signatures, Message Authentication Codes, and Authenticated Encryption Systems. Each attack is also supplemented with example challenges from "Capture The Flag" contests and their respective write-ups. Individuals who are already acquainted (or are into CTFs) with this field can use Crypton to solve challenges based on a particular existing vulnerability.
Source code and additional information may be found here: https://github.com/ashutosh1206/Crypton