This is the process of changing a given text to some other form by using some form of secret. These are mathematically defined functions:
As you can see, these functions take an input and a secret and generate data that can be decrypted using the same secret and the output:
If we observe carefully, it is the secret that is playing an important role here. In cryptography, there are two types of algorithms that are available based on this secret. The usage of these depends on the situation and the secret transportation challenges. ...