Create a secret between data (pub key) and pair.
data
pair
static Future<String?> secret(String data, KeyPair pair) => toFuture(SeaJsImpl.secret(data, pair));