You can use this code to encrypt and decrypt a stored values. You can also set you own encryption key that is store in a String(EncryptionKey)

http://www.pcreview.co.uk/forums/encrypt-my-settings-setting-t2642486.html