secret static method

Future<String?> secret(
  1. String data,
  2. KeyPair pair
)

Create a secret between data (pub key) and pair.

Implementation

static Future<String?> secret(String data, KeyPair pair) =>
    toFuture(SeaJsImpl.secret(data, pair));