Skip to content
IoC friendly C# .netstandard2.0 library for asymmetric cryptographic operations.
C# Other
  1. C# 99.8%
  2. Other 0.2%
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

NuGet API AppVeyor Travis Build Status CircleCI

Asymmetric Cryptography (RSA)

Encrypting, decrypting, signing and verifying data made easy.

Namespace: GlitchedPolygons.Services.Cryptography.Asymmetric

This is a simple, easy-to-use crypto library for C# (netstandard2.0).

It makes use of the portable BouncyCastle NuGet package to provide a reliable cross-platform cryptography interface.

You can encrypt, decrypt, sign and verify string and byte[] arrays with ease. The interfaces and their implementations are also IoC friendly, so you can inject them into your favorite DI containers (e.g. in ASP.NET Core MVC apps you'd use services.AddTransient inside Startup.cs).

The IAsymmetricCryptographyRSA interface provides functionality for all basic asymmetric RSA crypto operations you need for your C# project. RSA keys can be generated in variable key sizes and exported into comfortable PEM strings using IAsymmetricKeygenRSA. For more information, check out the API Documentation.

Technology used:

API docs can be found here:

You can’t perform that action at this time.