randomize method

  1. @override
SaplingBindingVerificationKey randomize(
  1. JubJubNativeFr randomizer
)
override

Returns a randomized version of this verification key.

Implementation

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