Interactive Learning Framework for Cryptography in Blockchain Systems