Namespace GlitchedPolygons.Services.Cryptography.Asymmetric
Classes
AsymmetricCryptographyRSA
IAsymmetricCryptographyRSA implementation for asymmetric RSA encryption/decryption and signing/verifying.
AsymmetricKeygenRSA
Asymmetric RSA key generator. RSAKeySize
AsymmetricKeyParameterExtensions
Extension methods for Org.BouncyCastle.Crypto.AsymmetricKeyParameter. RSAKeySize Org.BouncyCastle.Crypto.AsymmetricKeyParameter IAsymmetricKeygenRSA IAsymmetricCryptographyRSA
Interfaces
IAsymmetricCryptographyRSA
Service interface for encrypting and decrypting string
s and byte
[] arrays.
Make sure that everything you encrypt with these methods will also be decrypted again using the same code.
DO NOT MIX crypto libraries under any circumstances! IAsymmetricKeygenRSA
IAsymmetricKeygenRSA
Asymmetric RSA key generator. RSAKeySize
Enums
RSAKeySize
Represents an RSA key's size.
Possible values are 512-bit, 1024-bit, 2048-bit and 4096-bit.
The bigger, the slower, the safer.