Closed wrobbins closed 2 years ago
Microsoft has built in support for encryption key secret storage using the DataProtection APIs.
Using these interfaces you could generate and store the encryption key(s) used in GenerateEncryptionProvider.cs in a configurable, secure way.
GenerateEncryptionProvider.cs
Hi @wrobbins , I have tried this before, but since DataProtection library constantly generates a new key based on the data, it is very difficult to decipher the encrypted data with which key it was encrypted with.
Microsoft has built in support for encryption key secret storage using the DataProtection APIs.
Using these interfaces you could generate and store the encryption key(s) used in
GenerateEncryptionProvider.cs
in a configurable, secure way.