Cipher Class

Provides general use cryptographic functions.

Definition

Namespace: Gemstone.Security.Cryptography
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.110 -- Release Build+3e0464f4461df4d3e1175b13966eb47ff832554d
public class Cipher
Inheritance
Object    Cipher

Remarks

This class exists to simplify usage of basic cryptography functionality.

Constructors

Cipher Creates a new Cipher class.

Properties

SystemAllowsManagedEncryption Gets a flag that determines if system will allow use of managed, i.e., non-FIPS compliant, security algorithms.

Methods

CreateAes Creates an Aes encryption algorithm that respects current FIPS setting.
CreateSHA1 Creates a SHA1 hashing algorithm that respects current FIPS setting.
CreateSHA256 Creates a SHA256 hashing algorithm that respects current FIPS setting.
CreateSHA384 Creates a SHA384 hashing algorithm that respects current FIPS setting.
CreateSHA512 Creates a SHA512 hashing algorithm that respects current FIPS setting.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Extension Methods

GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)

See Also