
It can encrypt the data to be accessible only to the user who runs the applications so that another user wouldn’t be able to decrypt the data. It provides a simple interface to “protect” and “unprotect” the data without fiddling with cryptography algorithms. Why do we mention DPAPI? It’s simple, and it’s the default way to encrypt the data for Windows applications, so it’s worth having a quick look at. NET Core application that you want to run on macOS and that the application should encrypt the user’s data. Using DPAPI on macOS isn't possible, and the article presents a modern approach to data encryption on macOS. It assumes that you've heard of DPAPI, a popular approach to encrypting data on Windows, and that you want to use it on macOS.
This article talks about data encryption in a.