en method

Future<String> en(
  1. String data, [
  2. String? key
])

Return encrypted String

Implementation

Future<String> en(String data, [String? key]) =>
    _crypto?.en(data, key) ?? Future.value('');