enCrypt static method

void enCrypt(
  1. String data
)

Implementation

static void enCrypt(String data) {
  Encrypted encrypted = _getEncrypter().encrypt(data, iv: _iv);
  debugPrint("加密结果${encrypted.base64}");
}