Ok..

Windows encrypts registry values for security reasons..but using the advapi functions like RegQueryValueEx, you shouldn't botther decrypt them your self.

If you want to encrypt entries you'll have to write your own algorithm for encrypt and decrypt.