The code in C language uses a cryptography technique called XOR, which is a logical operation that compares two bits and returns 1 if they are different, and 0 if they are equal. This operation is used in cryptography algorithms to make bit-by-bit changes to the data.