Curves, codes, and cryptography door