1. Basic Concepts:-• Cryptography - the art or science encompassingthe principles and methods of transforming anintelligible message into one that isunintelligible, and…