Class Digest
A serializable class representing a SHA512-256 Digest
Inheritance
object
    Digest
  Inherited Members
      object.Equals(object, object)
    
    
      object.GetType()
    
    
      object.MemberwiseClone()
    
    
      object.ReferenceEquals(object, object)
    
  Namespace: Algorand
Assembly: Algorand.dll
Syntax
[JsonConverter(typeof(BytesConverter))]
public class Digest
  Constructors
| Improve this Doc View SourceDigest()
default values for serializer to ignore
Declaration
public Digest()
  Digest(byte[])
Create a new digest.
Declaration
[JsonConstructor]
public Digest(byte[] bytes)
  Parameters
| Type | Name | Description | 
|---|---|---|
| byte[] | bytes | a length 32 byte array  | 
      
Digest(string)
Create a new digest from a base64 encoded string.
Declaration
public Digest(string base64String)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | base64String | base64 encoded string  | 
      
Properties
| Improve this Doc View SourceBytes
Declaration
public byte[] Bytes { get; }
  Property Value
| Type | Description | 
|---|---|
| byte[] | 
Methods
| Improve this Doc View SourceEquals(object)
Declaration
public override bool Equals(object obj)
  Parameters
| Type | Name | Description | 
|---|---|---|
| object | obj | 
Returns
| Type | Description | 
|---|---|
| bool | 
Overrides
object.Equals(object)
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetHashCode()
Declaration
public override int GetHashCode()
  Returns
| Type | Description | 
|---|---|
| int | 
Overrides
object.GetHashCode()
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ToString()
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| string | 
Overrides
object.ToString()