getPublicFromPrivateKeyBigInt function

Uint8List? getPublicFromPrivateKeyBigInt(
  1. BigInt bigint, [
  2. bool compress = false
])

Implementation

Uint8List? getPublicFromPrivateKeyBigInt(BigInt bigint,
    [bool compress = false]) {
  ECPoint? p = params.G * bigint;

  if (p != null) {
    return p.getEncoded(compress);
  } else {
    return null;
  }
}