ShareTextHome →

Security

Security Architecture

How ShareText protects your transfers — from pairing to encrypted transfer to completion.

Summary: All data between devices is encrypted using DTLS via WebRTC. Pairing uses TOTP-based codes. Files are verified with SHA-256 checksums. No data is stored on any server. Rooms expire automatically.

Encryption

In-transit encryption: All data between devices is encrypted using DTLS (Datagram Transport Layer Security) over WebRTC DataChannels. This is the same encryption standard used by secure web browsing and video calling.

How DTLS Works

When two devices connect via WebRTC, they perform a DTLS handshake — the same type of key exchange used by HTTPS. After the handshake, all data flowing between the devices is encrypted with a unique session key. No one else — including ShareText's servers — can read the data in transit.

Key Properties

PropertyImplementation
Encryption protocolDTLS 1.2 over WebRTC DataChannel
Key exchangeDTLS handshake during connection setup
Session uniquenessEach connection generates a fresh key
Forward secrecyEphemeral keys — compromising one session doesn't affect others

Pairing Security

ShareText uses TOTP (Time-based One-Time Password) for device pairing:

File Integrity

Algorithm: SHA-256 (Secure Hash Algorithm, 256-bit)

Scope: Every file transfer includes a checksum verification

Process: Sender computes checksum before sending. Receiver computes after receiving.

Result: If checksums match, the file arrived intact. If not, ShareText flags the discrepancy.

Room Security

API Security

What ShareText Cannot See

What ShareText Can See

Known Limitations

Try ShareText Free →