diffieHellman abstract method
Computes the 32-byte shared secret from 32-byte privateKey and 32-byte peerPublic. Throws on invalid lengths or an all-zero (low-order) result.
Implementation
BuBytes diffieHellman({
required List<int> privateKey,
required List<int> peerPublic,
});