A constructor for a hash that may be used to calculate an HMAC. Implementing classes should not directly hold the provided key in memory beyond the lexical scope of the constructor.

Deprecated

use ChecksumConstructor

interface HashConstructor {
    new HashConstructornew (secret?): Hash;
}

Constructors

Constructors