Click or drag to resize

MD5CryptoServiceProvider Class

Computes the Crestron.SimplSharp.Cryptography.MD5 hash value for the input data using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited.
Inheritance Hierarchy
SystemObject
  Crestron.SimplSharp.CryptographyHashAlgorithm
    Crestron.SimplSharp.CryptographyMD5
      Crestron.SimplSharp.CryptographyMD5CryptoServiceProvider

Namespace: Crestron.SimplSharp.Cryptography
Assembly: SimplSharpCryptographyInterface (in SimplSharpCryptographyInterface.dll) Version: 2.21.121
Syntax
C#
public sealed class MD5CryptoServiceProvider : MD5

The MD5CryptoServiceProvider type exposes the following members.

Constructors
 NameDescription
Public methodMD5CryptoServiceProvider Initializes a new instance of the Crestron.SimplSharp.Cryptography.MD5CryptoServiceProvider class.
Top
Properties
 NameDescription
Public propertyCanReuseTransform Gets a value indicating whether the current transform can be reused.
(Inherited from HashAlgorithm)
Public propertyCanTransformMultipleBlocks When overridden in a derived class, gets a value indicating whether multiple blocks can be transformed.
(Inherited from HashAlgorithm)
Public propertyHash Gets the value of the computed hash code.
(Inherited from HashAlgorithm)
Public propertyHashSize Gets the size, in bits, of the computed hash code.
(Inherited from HashAlgorithm)
Public propertyInputBlockSize When overridden in a derived class, gets the input block size.
(Inherited from HashAlgorithm)
Public propertyOutputBlockSize When overridden in a derived class, gets the output block size.
(Inherited from HashAlgorithm)
Top
Methods
 NameDescription
Public methodClear Releases all resources used by the Crestron.SimplSharp.Cryptography.HashAlgorithm class.
(Inherited from HashAlgorithm)
Public methodComputeHash(Byte) Computes the hash value for the specified byte array.
(Inherited from HashAlgorithm)
Public methodComputeHash(Stream) Computes the hash value for the specified Crestron.SimplSharp.CrestronIO.Stream object.
(Inherited from HashAlgorithm)
Public methodComputeHash(Byte, Int32, Int32) Computes the hash value for the specified region of the specified byte array.
(Inherited from HashAlgorithm)
Public methodDispose
(Inherited from HashAlgorithm)
Protected methodDispose(Boolean) Releases the unmanaged resources used by the Crestron.SimplSharp.Cryptography.MD5CryptoServiceProvider and optionally releases the managed resources.
(Overrides HashAlgorithmDispose(Boolean))
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Finalizer
(Inherited from HashAlgorithm)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodHashCore Routes data written to the object into the Crestron.SimplSharp.Cryptography.MD5 hash algorithm for computing the hash value.
(Overrides HashAlgorithmHashCore(Byte, Int32, Int32))
Protected methodHashFinal Returns the computed Crestron.SimplSharp.Cryptography.MD5CryptoServiceProvider hash value as an array of bytes after all data has been written to the object.
(Overrides HashAlgorithmHashFinal)
Public methodInitialize Initializes an instance of Crestron.SimplSharp.Cryptography.MD5CryptoServiceProvider.
(Overrides HashAlgorithmInitialize)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTransformBlock Computes the hash value for the specified region of the input byte array and copies the resulting hash value to the specified region of the output byte array.
(Inherited from HashAlgorithm)
Public methodTransformFinalBlock Computes the hash value for the specified region of the specified byte array.
(Inherited from HashAlgorithm)
Top
Fields
 NameDescription
Protected fieldHashSizeValue Represents the size, in bits, of the computed hash code.
(Inherited from HashAlgorithm)
Protected fieldHashValue Represents the value of the computed hash code.
(Inherited from HashAlgorithm)
Protected fieldState Represents the state of the hash computation.
(Inherited from HashAlgorithm)
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also