salsaBoxBeforenm static method
NaCl crypto_box_beforenm quick call, routed through the active
backend (Dart today, native automatically once the connector gains
box support). Returns the 32-byte transport key.
Implementation
static BuBytes salsaBoxBeforenm({
required List<int> peerPublicKey,
required List<int> secretKey,
}) {
return blockchainUtils.api.aed.salsaBoxBeforenm(
peerPublicKey: peerPublicKey,
secretKey: secretKey,
);
}