【发布时间】:2014-06-24 12:11:43
【问题描述】:
DPAPI 有两个函数:CryptUnprotectData和CryptProtectData。
我读过They do the encryption or decryption by using a session key that the function creates by using the user's logon credentials. 这是否意味着我不需要将此密钥存储在任何地方,并且它们会在我想要加密或解密数据时创建?
我还发现An important point to remember is that DPAPI merely applies cryptographic protection to the data. It does not store any of the protected data; therefore applications calling DPAPI must implement their own storage of the protected data.这是关于密钥还是文件被加密?
【问题讨论】:
标签: winapi encryption storage dpapi