2

Can any one point me to any live implementation of CBC-MAC Mode (CCM)or Galois/Counter Mode (GCM) in C#? It seems that Microsoft has not created any implementation similar to AesCryptoServiceProvider. Am I right?

I did went through: https://blogs.msdn.microsoft.com/shawnfa/2009/03/17/authenticated-symmetric-encryption-in-net/, bit it's more of a "would look something like" rather than actual implementation. Any help will be highly appreciated. Thanks in advance.

John Davis
  • 23
  • 1
  • 1
  • 7

1 Answers1

2

By the way, while there wasn't an official MS implementation at the time of this question, there is one now:

AES-GCM: AesGcm Class (System.Security.Cryptography)

AES-CCM: AesCcm Class (System.Security.Cryptography)

Both are supported from:

  • .Net: 5.0
  • .Net Core: 3.0
  • .Net Standard 2.1
reirab
  • 1,535
  • 14
  • 32