calculateVrfSignature static method

Uint8List calculateVrfSignature(
  1. ECPrivateKey? signingKey,
  2. Uint8List? message
)

Implementation

static Uint8List calculateVrfSignature(
    ECPrivateKey? signingKey, Uint8List? message) {
  if (signingKey == null || message == null) {
    throw Exception('Values must not be null');
  }

  if (signingKey.getType() == djbType) {
    // TODO
  } else {
    throw Exception('Unknown Signing Key type${signingKey.getType()}');
  }
  return Uint8List(0);
}