Pure Dart mosh protocol implementation. No native extensions, no FFI.
Used by the Unix Shells mobile app to run mosh on iOS and Android where bundling a C binary is impractical.
AES-128-OCB3 authenticated encryption (RFC 7253), SSP transport with sequencing and retransmission, datagram fragmentation, and protobuf state sync. Same wire format as C mosh.
Includes optional latch extension fields for capability negotiation and session control. Standard mosh servers ignore these (forward-compatible).
lib/ocb.dart-- AES-128-OCB3lib/mosh_transport.dart-- SSP transportlib/mosh_fragment.dart-- fragmentation and reassemblylib/mosh_pb.dart-- protobuf encoding (includes latch extensions)
Copyright (c) 2026 Unix Shells. MIT license. See LICENSE.