The Bouncy Castle Cryptography library is a popular open source .NET implementation of cryptographic algorithms and protocols.

https://github.com/bcgit/bc-csharp

Installing Bouncy Castle libraries

NuGet Package Manager > Package Manager Console

Enter the command: Install-Package BouncyCastle.Cryptography