Technology & Security
Knock delivers HIPAA-safe clinical messages inside the tools clinicians already use — iMessage and SMS — with end-to-end encryption and zero PHI ever placed in the text.
The stack
Four layers, each chosen so a secure message can travel from one clinician to another without a new app to learn.
Architecture
Watch the flow: content is encrypted on the sender's device, relayed through the Knock API, and revealed only to an authenticated recipient — the carrier only ever sees a link.
encrypt on device → ciphertext to API → link over iMessage/SMS → biometric unlock → decrypt & read
Data model
A high-level view of the core entities and how they relate — messaging on one side, the multi-tenant SMS service on the other.
10+ tables · MySQL on AWS RDS · migrations-versioned
Encryption
Every message is end-to-end encrypted. The plaintext never touches the carrier, the SMS, or an unauthenticated screen — only a link does.
Each user gets an RSA-2048 key pair created on-device. The private key never leaves the phone; only the public key is shared with the server.
The message body is encrypted with a one-time AES-256-CBC key, which is then wrapped with the recipient's public key.
iMessage/SMS carry a secure App Clip link — never PHI. The bubble simply reads “New Message · Knock Encrypted.”
The recipient authenticates with Face ID / Touch ID; the message is decrypted on-device. Keys are shared app↔extension via a secure iOS App Group.
Safeguards