Returns if the scalar is equal to the provided scalar.
The scalar to compare with.
true if the scalars are equal, false otherwise.
Serialize the scalar to a hexadecimal string.
Returns the size of the underlying C++ object.
The size of the underlying C++ object in bytes.
Converts the scalar to an integer.
The scalar as a bigint.
Derives a ChildKey from a Scalar.
A new ChildKey instance derived from the provided Scalar.
Returns a string representation of the instance.
A string representation of the instance.
Derives a TokenKey from a ChildKey.
A new TokenKey instance derived from the ChildKey.
Returnsthe underlying C++ object.
The underlying C++ object.
StaticdeserializeStaticfromConstucts a new instance using the provided object.
The object to use for the new instance.
A new instance of the class.
StaticfromConstructs a new instance using the provided object and size.
The object to use for the new instance.
The size of the object.
A new instance of the class.
Staticrandom
Represents a child key. A child key is a Scalar and introduces no new functionality; it serves purely as a semantic alias. BlindingKey, TokenKey and TxKey are exclusively derived from a ChildKey.
Examples: