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) {
ApiValidate.length(
privateKey,
32,
operation: '$_tag.publicKey',
name: 'privateKey',
);
return inner.publicKey(privateKey);
}