ZCryptoContext class abstract mixin

Provides cryptographic primitives and precomputed tables required for ZCash operations (e.g., Poseidon hash, Sinsemilla commitments, and domain-separated commitments).

⚠️ Expensive to instantiate: creating a DefaultZCryptoContext allocates internal tables and constants, so it should be created once and passed to any code that requires it, rather than recreated repeatedly.

Implementers

Constructors

ZCryptoContext()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getCommitDomain(String domain) → CommitDomainNative
getPoseidonHash() → PoseidonHash<PallasNativeFp>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited