VRFProof class
The VRFProof class represents a Verifiable Random Function (VRF) proof, consisting of two components 'c' and 's'.
Members:
Constructors
-
VRFProof.fromBytes(List<
int> bytes) -
Creates a VRFProof instance from a byte representation.
The input bytes are expected to be properly formatted for a VRF proof.
factory
Properties
-
c
→ List<
int> -
Gets a copy of the 'c' component.
no setter
- cBigint → BigInt
-
Converts the c component into a BigInt.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
s
→ List<
int> -
Gets a copy of the 's' component.
no setter
- sBigint → BigInt
-
Converts the s component into a BigInt.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toBytes(
) → List< int> - Converts the VRFProof instance into a List<int> by concatenating the 'c' and 's' components.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited