sendRawEncrypted method
Sends one raw message (no frame encoding) through the transport, for tampering tests.
Implementation
Future<void> sendRawEncrypted(List<int> plaintext) async {
final s = _current;
if (s == null || s.transport == null) throw StateError('no handshake');
s.toDevice(await s.transport!.encrypt(plaintext));
}