A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://richardschneider.github.io/net-ipfs-core/api/Ipfs.Registry.HashingAlgorithm.html below:

Class HashingAlgorithm

Metadata and implemetations of a IPFS hashing algorithms.

Inheritance

HashingAlgorithm

Namespace: Ipfs.Registry Assembly: Ipfs.Core.dll Syntax
public class HashingAlgorithm
Properties | Improve this Doc View Source All

A sequence consisting of all HashingAlgorithm.

Declaration
public static IEnumerable<HashingAlgorithm> All { get; }
Property Value | Improve this Doc View Source Code

The IPFS number assigned to the hashing algorithm.

Declaration Property Value | Improve this Doc View Source DigestSize

The size, in bytes, of the digest value.

Declaration
public int DigestSize { get; }
Property Value Type Description Int32

The digest value size in bytes. Zero indicates that the digest is non fixed.

| Improve this Doc View Source Hasher

Returns a cryptographic hash algorithm that can compute a hash (digest).

Declaration
public Func<HashAlgorithm> Hasher { get; }
Property Value | Improve this Doc View Source Name

The name of the algorithm.

Declaration
public string Name { get; }
Property Value Type Description String

A unique name.

Methods | Improve this Doc View Source Deregister(HashingAlgorithm)

Remove an IPFS hashing algorithm from the registry.

Declaration
public static void Deregister(HashingAlgorithm algorithm)
Parameters | Improve this Doc View Source GetAlgorithm(String)

Gets the HashAlgorithm with the specified IPFS multi-hash name.

Declaration
public static HashAlgorithm GetAlgorithm(string name)
Parameters Returns Type Description HashAlgorithm

The hashing implementation associated with the name.

Exceptions | Improve this Doc View Source GetAlgorithmMetadata(String)

Gets the metadata with the specified IPFS multi-hash name.

Declaration
public static HashingAlgorithm GetAlgorithmMetadata(string name)
Parameters Returns Type Description HashingAlgorithm

The metadata associated with the hashing name.

Exceptions | Improve this Doc View Source Register(String, Int32, Int32, Func<HashAlgorithm>)

Register a new IPFS hashing algorithm.

Declaration
public static HashingAlgorithm Register(string name, int code, int digestSize, Func<HashAlgorithm> hasher = null)
Parameters Returns | Improve this Doc View Source RegisterAlias(String, String)

Register an alias for an IPFS hashing algorithm.

Declaration
public static HashingAlgorithm RegisterAlias(string alias, string name)
Parameters Type Name Description String alias

The alias name.

String name

The name of the existing algorithm.

Returns | Improve this Doc View Source ToString()

The Name of the hashing algorithm.

Declaration
public override string ToString()
Returns Overrides

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4