salsaBoxSeal abstract method

BuBytes salsaBoxSeal(
  1. List<int> nonce,
  2. List<int> plaintext, {
  3. required List<int> peerPublicKey,
  4. required List<int> secretKey,
})

NaCl box with explicit 24-byte nonce, nonce-prefixed framing: returns NONCE || TAG || CIPHERTEXT. Throws on invalid lengths.

Implementation

BuBytes salsaBoxSeal(
  List<int> nonce,
  List<int> plaintext, {
  required List<int> peerPublicKey,
  required List<int> secretKey,
});