HashAlgorithm Class
Namespace: System.Security.Cryptography · Assembly: GHIElectronics.TinyCLR.System.Security.Cryptography
Abstract base for cryptographic hash algorithms (MD5, SHA1, SHA256). Matches the .NET BCL surface.
public abstract class HashAlgorithm : IDisposable
Properties
HashSize
public virtual int HashSize { get; set; }
No description available.
Hash
public virtual byte[] Hash { get; set; }
No description available.
Methods
ComputeHash(byte[] buffer)
public abstract byte[] ComputeHash(byte[] buffer)
No description available.
| Parameter | Type | Description |
|---|---|---|
buffer | byte[] |
Returns byte[]
ComputeHash(byte[] buffer, int offset, int count)
public abstract byte[] ComputeHash(byte[] buffer, int offset, int count)
No description available.
| Parameter | Type | Description |
|---|---|---|
buffer | byte[] | |
offset | int | |
count | int |
Returns byte[]
ComputeHash(Stream inputStream)
public abstract byte[] ComputeHash(Stream inputStream)
No description available.
| Parameter | Type | Description |
|---|---|---|
inputStream | Stream |
Returns byte[]
Initialize()
public abstract void Initialize()
No description available.
Clear()
public void Clear()
Removes all elements from the UIElementCollection. (inherited)
Dispose()
public virtual void Dispose()
Releases buffered memory (the unmanaged firmware/application buffers). (inherited)