Mentalis.org Security Library documentation

Org.Mentalis.Security.Cryptography Namespace

The Org.Mentalis.Security namespace provides access to several classes related to cryptographic transformations such as encryption and hashing.

Namespace hierarchy

Classes

ClassDescription
ARCFourManaged Accesses the managed version of the ARCFour algorithm. This class cannot be inherited. ARCFour is fully compatible with the RC4TM algorithm.
DataProtectionCryptoServiceProvider The DataProtectionCryptoServiceProvider is a class that performs encryption and decryption on data without explicitly requiring a password.
There are two different types of encryption. The first type will associate the encrypted data with the logon credentials of the current user. Hence only a user with matching logon credentials can decrypt the data.
The second type will associate the encrypted data with the local machine. Any user of a specific machine will be able to decrypt encrypted data under this scheme.
This class cannot be inherited.
HMAC Implements the HMAC keyed message authentication code algorithm.
MD2 Represents the abstract class from which all implementations of the MD2 hash algorithm inherit.
MD2CryptoServiceProvider Computes the MD2 hash for the input data using the implementation provided by the cryptographic service provider (CSP).
RC4 Represents the base class from which all implementations of the RC4 symmetric stream cipher must inherit.
RC4CryptoServiceProvider Defines a wrapper object to access the cryptographic service provider (CSP) version of the RC4 algorithm. This class cannot be inherited.
RijndaelCryptoServiceProvider Accesses the unmanaged version of the Rijndael algorithm. This class cannot be inherited.
RIPEMD160 Represents the abstract class from which all implementations of the RIPEMD160 hash algorithm inherit.
RIPEMD160Managed Computes the MD2 hash for the input data using the implementation provided by the cryptographic service provider (CSP).

Enumerations

EnumerationDescription
ProtectionType Specifies the type of encryption method to use when protecting data.