Sonic Cipher

Short messages over any voice path — HF SSB, FM radio, landline, VoIP — using a narrowband MFSK modem built for those channels.

1. Mode

Both sides need the same passphrase. Derived once per session, then cached.

2. Send

 

On a radio: start the far end listening first, key up, wait for the tone to begin, and hold PTT for the whole transmission including the gaps.

3. Receive

mic idle no signal capture…
 

4. As text, with no sound

Send this over SMS, email or chat when sound is a bad path. Packets from the older version of this tool (SC1. / SC2.) still decrypt here.

Log

What changed, and what it will and will not do
Amateur radio and encryption. In most jurisdictions — including FCC §97.113(a)(4) in the US and the equivalent rules across ITU Regions 1–3 — transmitting messages encoded to obscure their meaning is not permitted on amateur bands. Use Clear text mode on the air; it is a normal digital mode and the error correction still works. Keep the encrypted modes for wireline paths (landline, VoIP) and for licences that do permit encryption.

Why the previous version could not work on these channels. The old air layer was ggwave, which places tones on an FFT bin grid. Even its narrowest mode occupied roughly 1125–4125 Hz, while a landline passes 300–3400 Hz and a walkie-talkie or SSB rig passes about 300–2700 Hz. The upper half of every byte was filtered away before it arrived, so no amount of retrying could decode it. Its sync markers also used sixteen simultaneous tones, which any FM limiter, phone companding or audio compressor turns to mush, and it had no way to measure the frequency error that SSB tuning always introduces.

What replaced it. A 16-tone MFSK modem kept entirely inside 700–2600 Hz, with one tone sounding at a time at constant amplitude. Before any data, a two-tone probe measures the channel's frequency offset, so an SSB rig mistuned by a few hundred hertz still decodes. Goertzel detection evaluates arbitrary frequencies rather than fixed bins, so the measured offset is simply applied. Each message is split into small CRC-checked blocks and coded with a Cauchy MDS erasure code, so any sufficient subset rebuilds the message: the sender keeps emitting fresh parity blocks and the receiver finishes as soon as enough arrive, with no back-channel. The preamble and sync word repeat before every block group, because measurement showed a single burst landing on one preamble was otherwise the largest cause of total loss.

Measured in simulation against a channel model with band-limiting, noise, SSB tuning error, selective (Watterson) fading, clock drift, clipping, μ-law companding, dropouts and impulsive noise — and separately through real G.711, GSM 06.10, AMR, Opus, G.722, iLBC and Speex encoders:

  • Clean, good SSB, mistuned SSB, good and marginal FM, landline (including a poor one): decodes every time.
  • Marginal SSB at 6 dB SNR with CCIR-poor fading: reliable on the HF profiles.
  • Through every speech codec tested, including AMR at its lowest 4.75 kbit/s rate: the HF profiles decoded every attempt. So a mobile or VoIP voice call is a workable path, which it was not before.
  • Limits. At 0 dB SNR combined with severe HF fading it fails; that needs a soft-decision code of the kind Olivia uses. And a link dropping out more than roughly once a second in long bursts defeats it — by that point voice on the same link is badly broken up too.

Also fixed. Playback had three gain stages in series and clipped hard at the raised volume the old help text recommended; there is now one stage that cannot exceed full scale, and the single-tone waveform has no peaks to clip anyway. Capture used a deprecated main-thread node that dropped audio whenever the page was busy; it now uses an AudioWorklet. The receiver compared each decode with the previous one and returned early, which silently discarded a deliberate resend; repeats are now suppressed only within a single transmission, so resending always works. And decryption no longer rejects messages whose timestamp is more than ten minutes from your clock — replay is caught by remembering nonces, which needs no clock agreement at all.

Requirements. Microphone capture needs HTTPS or localhost; transmitting, WAV export and text decryption work from a saved file. Nothing is installed and nothing is uploaded.