Method | Description | |
---|---|---|
Register ( string name, byte code, byte digestSize, Func |
Register a new IPFS hashing algorithm.
|
|
ToString ( ) : string |
The Name of the hashing algorithm.
|
Method | Description | |
---|---|---|
HashingAlgorithm ( ) : System |
Use Register to create a new instance of a HashingAlgorithm.
|
public static Register ( string name, byte code, byte digestSize, Func |
||
name | string | /// The name of the algorithm. /// |
code | byte | /// The IPFS number assigned to the hashing algorithm. /// |
digestSize | byte | /// The size, in bytes, of the digest value. /// |
hasher | Func |
/// A |
return | HashingAlgorithm |