Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

Exomia.Serialization.Hash

Daniel Baetz edited this page Jun 21, 2019 · 5 revisions

EHA

exomia hash algorithm.

public class Exomia.Serialization.Hash.EHA

Constructors

.ctor EHA(Int64 seed)

Summary:

Initializes a new instance of the Exomia.Serialization.Hash.EHA class.

Parameter:

  • seed - The seed.


Methods

Byte[] ToBytes(Stream stream)

Summary:

generates a hash from a given stream and returns it as a byte array.

Parameter:

  • stream - input.

Byte[] ToBytes(String data)

Summary:

generates a hash from given string data and returns it as a hex string.

Parameter:

  • data - data.

Byte[] ToBytes(Byte[] data)

Summary:

generates a hash from given string data and returns it as a hex string.

Parameter:

  • data - data.

String ToString(Stream stream)

Summary:

generates a hash from a given stream and returns it as a hex string.

Parameter:

  • stream - input.

String ToString(String data)

Summary:

generates a hash from given string data and returns it as a hex string.

Parameter:

  • data - data.

String ToString(Byte[] data)

Summary:

generates a hash from given string data and returns it as a hex string.

Parameter:

  • data - data.