Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

AES-GCM-256 in C#

Can anyone help me encrypt a string with AES-GCM-256 using C#?

Appreciate the help. 🤝
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.

[Image: 5bT3PbH.png]
(Dec 28, 2019 09:54 AM)draxyee Wrote:  Do you have any sample code perhaps?

I saw this answer somewhere else, but I'm somewhat lost.

[Image: 5bT3PbH.png]

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.

Where are you lost ?

Could you provide maybe some sample code?
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.
[Image: vp6iypF.gif]


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