How to Encrypt/Decrypt Data in UWP Application using C#?

csharp
uwp

(jms) #1

Can anyone suggest what’s the best way to Encrypt & Decrypt Data (Strings mostly) in a UWP App using C# programming language?


(afree) #2

Universal Windows Apps, make it much easier, you can use the CryptographicEngine.Encrypt Method.

It’s all you need to use to Encrypt data within a UWP app, and also you might want to use CryptographicEngine.Decrypt method To decrypt it.