These functions use a key specific to the registered user. This way you do not need to store the key. However, these functions are intended only for data conversion, and not for storing data. This means that your job is to store encrypted pieces of data wherever you want - CryptProtectData will not do this for you.
Eugene Mayevski 'Allied Bits
source share