Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Encrypt/Decrypt chat messages (strings) in ASP.NET Core 2

$
0
0

Hello!

I'm working on a fairly simple chat application where I would like to add some more security. As of now the app runs on Azure with a SQL Server database with transparent encryption, I would like to add encryption to messages directly in my application.

I stumbled upon this article that explains how to encrypt/decrypt strings: http://mikaelkoskinen.net/post/encrypt-decrypt-string-asp-net-core and was wondering if this was the best way for my use case: chat with a lot of chat messages (strings) that will need to be fetched and presented, or posted and saved constantly.

Or if there's a nifty better way to achieve this? I am also using Identity for the app, so users are signed in when posting these messages (if that's relevant).

Thanks in advance for any hints!


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>