publicKey method
Derives the 32-byte public key from 32-byte privateKey (clamped scalar-mult with base point u = 9). Throws on invalid length.
Implementation
@override
BuBytes publicKey(List<int> privateKey) =>
_api.publicKey(privateKey).unwrapOrThrowCryptoError();