Secret

Ecng.Security

Secret.

Inherits: Equatable<Secret>

Constructors

Secret
public Secret()
secret = Secret()

Initializes a new instance of the Secret class.

Properties

Hash
public byte[] Hash { get; set; }
value = secret.Hash
secret.Hash = value

Gets or sets the hash.

Salt
public byte[] Salt { get; set; }
value = secret.Salt
secret.Salt = value

Gets or sets the salt.

Methods

Clone
public override Secret Clone()
result = secret.Clone()

Creates a new object that is a copy of the current instance.

Returns: A new object that is a copy of this instance.

GetHashCode
public override int GetHashCode()
result = secret.GetHashCode()

Serves as the default hash function.

Returns: A hash code for the current object.

OnEquals
protected override bool OnEquals(Secret other)
result = secret.OnEquals(other)