Introduction to Data Protection
https://docs.microsoft.com/en-us/aspnet/core/security/data-protection/introduction

Web applications often need to store security-sensitive data. Windows provides DPAPI for desktop applications
but this is unsuitable for web applications.
The ASP.NET Core data protection stack provide a simple, easy to use cryptographic API a developer can use to protect data,
including key management and rotation.