how does this compare to using DPAPI

Aug 21, 2015 at 12:48 AM
I browsed the samples in the documentation and it talks about RNG and hash creation. So I wonder, what is the benefit of using this API over DPAPI which has similar capabilities?

Is this faster?

Is it somehow more secure?

Is this mainly a place to store keys?

Can anyone point me to some business doc that explains this?

Thanks in advance.

Regards..
Developer
Mar 2, 2016 at 4:32 PM
Thank you for your interest in the TSS.MSR library.

The DPAPI is a Microsoft published API to encrypt and decrypt data whereas the TSS.MSR APIs are APIs to interact with a TPM. One of the functionalities of a TPM is to encrypt and decrypt data, but there is a lot more to a TPM than that. We have not done any performance or security comparisons between the two APIs.