CryptoHelper Class
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9147)
Provides various cryptography-related helper methods.
Syntax
public static class CryptoHelper
Inherited Members
Properties
Name | Description |
---|---|
Use |
Enables or disables an option that specifies whether only FIPS 140-2 compliant cryptographic algorithm providers are to be used. |
Methods
Name | Description |
---|---|
Create |
Creates an instance of default random number generator. |
Decode |
Decodes a signature from a PKCS #7 form. |
Encode |
Encodes a signature to a PKCS #7 form. |
Encode |
Encodes string as ASN.1 value (IA5String or UTF8String). |
Get |
Fills specified array of bytes with a cryptographically strong random sequence of values. |
Get |
Returns an array of bytes with a cryptographically strong random sequence of values. |