Cryptography provides a set of methods for storing and transmitting data in a form that is secret to the unauthorized user over a public network. Cryptography is closely associated with encryption and has become entirely digital with a combination of mathematical theories and computational structures.