Sometimes we need to protect data, without introducing over-complex routines. A perfect example is High Score tables. It would not be wise to save the information in a plain text file. Conversely, we need to be able to read and write the information efficiently. We'll use the example of saving high score data to illustrate how data can be encrypted and decrypted very easily. Along the way, we'll introduce reading from and writing to files, using bitwise operations and the advantages of not-so random numbers.

Full tutorial and Project files in Newsletter: