Encryption

How PinkyBond encrypts messages and calls

Everything she shares with you is encrypted on her phone and decrypted on yours. Our server forwards sealed envelopes it cannot open. We never hold the key.

Built on platform cryptography

We did not write our own crypto. On iPhone we use Apple's CryptoKit. On Android we use Google's Tink. Curve25519 key agreement, HKDF-SHA256 and AES-256-GCM on both, pinned to each other by shared test vectors, so an iPhone and an Android phone produce byte-for-byte identical ciphertext.

Key agreement

Curve25519 (X25519) ECDH

Encryption

AES-256-GCM

Key derivation

HKDF-SHA256

What we do, and what we don't

Every row is checkable. The last three are where we fall short of the best messengers, and we would rather you read that here than find it out later.

DimensionPinkyBond
EncryptionAES-256-GCM, end-to-end between the two phones
Key agreementCurve25519 (X25519) ECDH, then HKDF-SHA256
ImplementationApple CryptoKit on iPhone, Google Tink on Android — byte-for-byte interoperable
Key storageiOS Keychain / Android Keystore, hardware-backed where available
PairingQR code in person, or a 6-character code / link exchanged remotely; both public keys exchanged
VerificationA 6-digit code on both phones confirms no one sat in the middle
AccountNone — no phone number, no email, no password
Мессеж болон дуудлагын агуулгад серверийн хандалтБайхгүй. Бид түлхүүрийг хэзээ ч эзэмшдэггүй.
What the relay storesХослуулах ID, мессежийн төрөл, цагийн тэмдэг, хэмжээ, шифрлэгдсэн текст — хүргэгдмэгц устгагдана, дээд тал нь 30 хоног
Зураг, видео болон файлууд2 GB хүртэл, зөвхөн таны хоёр утсанд байдаг файл бүрийн шинэ түлхүүрээр битүүмжлэгдсэн; татаж авмагц устгагдана, дээд тал нь 30 хоног. Хараахан шинэчлэгдээгүй хамтрагчийн апп руу: хослуулах түлхүүрийн дор 25 MB хүртэл, 30 хоног хадгална
Дуудлагын түүхАль утас дуудлага хийсэн, хэзээ, дуут эсвэл видео, үр дүн болон үргэлжлэх хугацаа — манай сервер уншиж чадна, 90 хоног хадгална, та хослуулалтыг цуцлахад устгагдана. Хэзээ ч дуу эсвэл видео биш.
Push notificationsCarry no text; the phone decrypts locally
Safety ModeYes — her phone sends neutral substitute data instead of her real status. Your app shows no indicator, though the flag itself is in the snapshot.
Forward secrecyNo — one key per pairing
Open sourceNo
Independent auditNot yet

How pairing works

No phone number. No email. No account. In the same room, she shows a QR code and you scan it. Apart, she sends you a 6-character code or a link. Either way both phones exchange public keys, derive the same secret, and show a 6-digit verification code so the two of you can confirm no one sat in the middle.

1

She taps “Pair with partner” in PinkyBloom

2

Her phone generates a Curve25519 key pair (Apple CryptoKit on iPhone, Google Tink on Android)

3

She shows a QR code, or sends you a 6-character code or link if you are apart

4

You scan or enter it in PinkyBond, and your phone generates its own key pair

5

Your public key travels back to her the same way; both phones now hold both public keys

6

Each phone runs ECDH and HKDF-SHA256 to derive the same shared secret — nothing secret crosses the network

7

The shared secret is stored in the iOS Keychain or the Android Keystore

8

A 6-digit verification code appears on both phones; if they match, no one sat in the middle

The Blind Relay

Манай сервер битүүмжлэгдсэн дугтуйнуудын шуудангийн хайрцаг юм. Нөгөө утас түүнийг авах хүртэл л шифрлэгдсэн текстийг барьж, дараа нь устгадаг — тэр утас офлайн хэвээр байвал дээд тал нь 30 хоногийн дараа. Түүнд хэзээ ч түлхүүр байхгүй. Түлхэлт мэдэгдэлд текст байхгүй; утас нь орон нутагт тайлж уншдаг.

PinkyBloom

Encrypts on her phone

→

Blind Relay

Хүргэгдэх хүртэл шифрлэгдсэн текстийг хадгална, дээд тал нь 30 хоног

Cannot decrypt

→

PinkyBond

Decrypts on your phone

Мессеж, файл, дуудлагын тухай манай сервер хадгалдаг бүх зүйл:

pairingId

Identifier for the pairing; not a name, number or email

senderRole

Which app sent it: PinkyBloom or PinkyBond

messageType

Ямар төрлийн дугтуй болох нь — жишээ нь чатын мессеж, төлөвийн зураг, хүлээн авсан баталгаа эсвэл дуудлагын тохиргоо — доторх зүйл юу байгаа нь хэзээ ч биш

timestamp

When it was sent

ciphertext

AES-256-GCM blob we cannot open; its length is the only thing we can measure

retention

Нөгөө утас хүлээн авмагц устгагдана; офлайн хэвээр байвал дээд тал нь 30 хоног

relayReceipts

Хүргэгдсэний дараа агуулгагүй бичлэг: аль мессеж байсан, хүргэгдсэн эсвэл хугацаа дууссан эсэх. Илгээгчийн утас “хүргэгдээгүй” гэж харуулж чадахын тулд 30 хоног хадгална

mediaObjects

Зураг, дуут тэмдэглэл, видео болон 2 GB хүртэлх файлууд, зөвхөн шифрлэгдсэн мессежийн дотор явдаг файл бүрийн шинэ түлхүүртэй Cloudflare R2 дээр шифрлэгдсэн текст хэлбэрээр хадгалагдана. Таны хамтрагчийн утас татаж авмагц устгагдана; дээд тал нь 30 хоног

callLog

Хоёр утасны алиных нь дуудлага хийсэн, хэзээ, дуут эсвэл видео, хариулсан, алдсан эсвэл татгалзсан, хэр удаан үргэлжилсэн. Манай сервер уншиж чадна — унтарсан байсан утас алдсан дуудлагын тухай ийнхүү мэддэг. 90 хоног хадгална, хослуулалтыг цуцлахад устгагдана. Хэзээ ч дуу эсвэл видео биш

Calls

Voice and video are peer-to-peer WebRTC with DTLS-SRTP and fresh keys for every call. The call setup rides the encrypted relay like any message. Before media flows, your phone checks the peer's DTLS fingerprint against a key derived from the pairing secret; a failed check aborts the call.

Сүлжээ шууд замыг хаахад, relay нь өөрөө уншиж чадахгүй пакетуудыг дамжуулдаг. Ямар ч медиа сервер дуудлагыг хэзээ ч сонсдоггүй, мөн ямар ч дуудлага бичигддэггүй. Энэ нь iPhone болон Android хооронд ажилладаг. Манай сервер хадгалдаг зүйл бол дуудлагын түүх юм — аль утас дуудлага хийсэн, хэзээ, дуут эсвэл видео, үр дүн болон хэр удаан үргэлжилсэн — 90 хоногийн турш, ингэснээр утас нь унтарсан хамтрагч ч алдсан дуудлагыг харна. Дэлгэрэнгүй /calls.

Safety Mode

Encryption protects her data from outsiders and from us. Safety Mode is for the case where the person on the other end is the concern. She can pause sharing at any time, and he is never notified. She can also turn on Safety Mode, which substitutes neutral data he cannot distinguish from a real update.

When Safety Mode is active, the partner sees:

Phase

“Follicular”

Mood

“Good”

Energy

3 (Moderate)

The neutral data is encrypted and sent through the normal relay, so it looks the same as a real update in transit and on his screen.

Questions

Encrypted between the two phones. We never hold the key.

No phone number, no email, no account. The same cryptography on iPhone and Android, and a relay that forwards ciphertext it cannot open.

Download on the App StoreGet it on Google Play
Download on the App StoreGet it on Google Play