randomize method

  1. @override
OrchardSpendVerificationKey randomize(
  1. VestaNativeFq randomizer
)
override

Returns a randomized version of this verification key.

Implementation

@override
OrchardSpendVerificationKey randomize(VestaNativeFq randomizer) {
  final point = toPoint() + (generator() * randomizer);
  return OrchardSpendVerificationKey.fromBytes(point.toBytes());
}