Encrypt and decrypt strings in ASP.NET Core using Data Protection.

1. Introduction