P-Adic Integration On Modular Curves And Code-Based Cryptography