In this example, you will learn about C program to encrypt and decrypt the string using a In the above program, we have used simple logic for encrypting and .