computePublicKey static method

Uint8List computePublicKey(
  1. Uint8List secretKey
)

Computes a public key given specified secret key.

Implementation

static Uint8List computePublicKey(Uint8List secretKey) =>
    Sodium.cryptoScalarmultBase(secretKey);