encapsulate abstract method

FutureOr<({Uint8List ciphertext, Uint8List sharedSecret})> encapsulate(
  1. Uint8List publicKey
)

Encapsulate a fresh shared secret against publicKey.

Returns the ciphertext to transmit to the holder of the matching secret key, together with the sharedSecret that both parties will derive.

Implementation

FutureOr<({Uint8List ciphertext, Uint8List sharedSecret})> encapsulate(
    Uint8List publicKey);