encryptWithKey static method

Future<String?> encryptWithKey(
  1. Object data,
  2. String key
)

Encrypt the data with a key.

Implementation

static Future<String?> encryptWithKey(Object data, String key) =>
    toFuture(SeaJsImpl.encrypt(dartToJs(data)!, key));