encrypt method

Future<void> encrypt()

Encrypt the packet data.

Implementation

Future<void> encrypt() async {
  final k = Kaalka(time: _parseTimeKey(timeKey));
  encrypted = await k.encrypt(data);
}