What is a Simple XOR algorithm?
XOR stands for Exclusive-OR encryption and is almost unbreakable through brute force methods. Both the vendor and Sage Pay have access to a pre-defined encryption password in order to encrypt and decrypt the information provided XOR encryption uses a password generated by Sage Pay to encrypt text. For security reasons this is a randomly generated mixture of 16 numbers and letters in both upper and lower case e.g. oVPMeTE1xjXdT0nm The encryption first transforms the data and the password into an ASCII number (this is where all letters/symbols/numbers are represented by a number from 0 to 256). The Password and the crypt string which has already been transformed into an ASCII number is then further encrypted into a Binary form (a digital format of 0’s and 1’s). The binary data (0’s and 1’s) from the password is XORed against the binary data (0’s and 1’s) of the crypt string. If the password is shorter than the crypt string, it repeats. e.g: Password: 01100101011001/ 01100101011001/011001