computeSecret method

BigInt computeSecret(
  1. Uint8List remotePubKey
)

Implementation

BigInt computeSecret(Uint8List remotePubKey) {
  this.remotePubKey = remotePubKey;
  return decodeBigInt(ScalarMult.scalseMult(myPrivKey, remotePubKey));
}