Can anyone help me encrypt a string with AES-GCM-256 using C#?
Appreciate the help. 🤝
Appreciate the help. 🤝
|
C#
AES-GCM-256 in C# |
|
You can just use AuthenticatedAesCng class in Security.Crypography NuGet package from Microsoft to do encryption/decryption.
(Dec 28, 2019 09:52 AM)Morpheus Wrote: You can just use AuthenticatedAesCng class in Security.Crypography NuGet package from Microsoft to do encryption/decryption. Do you have any sample code perhaps? I saw this answer somewhere else, but I'm somewhat lost.
(Dec 28, 2019 09:54 AM)draxyee Wrote: Do you have any sample code perhaps? Yes i've copy & paste the answer because i've used this method and it worked. Where are you lost ? (Dec 28, 2019 09:55 AM)Morpheus Wrote: Yes i've copy & paste the answer because i've used this method and it worked. Could you provide maybe some sample code?
Dec 28, 2019 12:24 PM
(This post was last modified: Dec 28, 2019 01:06 PM by MavenGradle.)
Did you try searching for your problem? It's literally the second result on google:
https://www.codeproject.com/Articles/126...Decryption Something tells me you're trolling in the coding section. How about you get your character set knowledge up to date before performing encryption? That would seem more fitting. ![]() |
|
|
| Possibly Related Threads... | |||
| Thread / Author | Replies | Views | Last Post |
| [C] by neonbytesJan 8, 2021 04:09 PM | 10 | 350 |
Jan 8, 2021 04:09 PM Last Post: poker |
| [C] by TarikBrt69Oct 1, 2020 01:57 AM | 6 | 377 |
Oct 1, 2020 01:57 AM Last Post: mike.vronsky |
| [C#] by GrootyJul 28, 2019 03:59 PM | 0 | 148 |
Jul 28, 2019 03:59 PM Last Post: Grooty |