BytecodeApi Documentation

BytecodeApi.Cryptography Namespace

Classes


  Class Description
Public class AsymmetricContentEncryption
Class to encrypt and decrypt content asymmetrically using RSA and AES-256. Encrypted Byte[] objects generated by this class are proprietary and specific to this class only. For generic AES operations, see Encryption. For generic RSA operations, see AsymmetricEncryption.
Public class AsymmetricEncryption
Class to encrypt and decrypt data using RSA. The length of the encrypted data is limited. For larger amounts of data, the AsymmetricContentEncryption class is more suitable.
Public class AsymmetricKeyConvert
Class that converts between different RSA key formats, i.e. DER, PEM and the RSAParameters structure. Public keys are handled using the PKCS#8 format and private using the PKCS#1 format.
Public class ContentEncryption
Class to encrypt and decrypt content using AES-256. Encrypted Byte[] objects generated by this class are proprietary and specific to this class only. For generic AES operations, see Encryption.
Public class Encryption
Class to encrypt and decrypt data using AES-128 or AES-256.
Public class Hashes
Class to compute hashes of a specific HashType.

Enumerations


  Enumeration Description
Public enumeration AsymmetricKeyType
Specifies the key type used for asymmetric encryption.
Public enumeration HashType
Specifies a hash algorithm.