Skip to content

How to add AES GCM with bcrypt for .NET framework? #1144

Answered by AArnott
pavinan asked this question in Q&A
Discussion options

You must be logged in to vote

Down-level C# language version support is spotty. You should be able to fix this by adding this to your project file:

<LangVersion>9</LangVersion>

Of course, I like to go all the way and use 12.

C# 12 has the appropriate guards to keep you on the right path when targeting older runtimes.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@pavinan
Comment options

@AArnott
Comment options

Answer selected by pavinan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants