publicKey static method
Computes the public key for secretKey.
Implementation
static Uint8List publicKey(List<int> secretKey) {
_checkLength(secretKey, 'secret key');
return TweetNaCl.crypto_scalarmult_base(
Uint8List(keyLength),
Uint8List.fromList(secretKey),
);
}