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.
| Dimension | PinkyBond |
|---|---|
| Encryption | AES-256-GCM, end-to-end between the two phones |
| Key agreement | Curve25519 (X25519) ECDH, then HKDF-SHA256 |
| Implementation | Apple CryptoKit on iPhone, Google Tink on Android — byte-for-byte interoperable |
| Key storage | iOS Keychain / Android Keystore, hardware-backed where available |
| Pairing | QR code in person, or a 6-character code / link exchanged remotely; both public keys exchanged |
| Verification | A 6-digit code on both phones confirms no one sat in the middle |
| Account | None — no phone number, no email, no password |
| Quyền truy cập của máy chủ vào nội dung tin nhắn và cuộc gọi | Không có. Chúng tôi không bao giờ giữ khóa mã hóa. |
| What the relay stores | Mã ghép đôi, loại tin nhắn, dấu thời gian, kích thước, dữ liệu mã hóa — bị xóa ngay khi được gửi tới, tối đa 30 ngày |
| Ảnh, video và tệp | Tối đa 2 GB, được niêm phong bằng một khóa mới cho mỗi tệp mà chỉ hai điện thoại trong cặp ghép đôi của bạn có; bị xóa ngay khi được tải xuống, tối đa 30 ngày. Với ứng dụng của đối tác chưa cập nhật: tối đa 25 MB dưới khóa ghép đôi, lưu trong 30 ngày |
| Nhật ký cuộc gọi | Điện thoại nào đã gọi, khi nào, gọi thoại hay gọi video, kết quả và thời lượng — máy chủ của chúng tôi đọc được, lưu trong 90 ngày, bị xóa khi bạn hủy ghép đôi. Không bao giờ có âm thanh hay hình ảnh. |
| Push notifications | Carry no text; the phone decrypts locally |
| Safety Mode | Yes — 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 secrecy | No — one key per pairing |
| Open source | No |
| Independent audit | Not 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.
She taps “Pair with partner” in PinkyBloom
Her phone generates a Curve25519 key pair (Apple CryptoKit on iPhone, Google Tink on Android)
She shows a QR code, or sends you a 6-character code or link if you are apart
You scan or enter it in PinkyBond, and your phone generates its own key pair
Your public key travels back to her the same way; both phones now hold both public keys
Each phone runs ECDH and HKDF-SHA256 to derive the same shared secret — nothing secret crosses the network
The shared secret is stored in the iOS Keychain or the Android Keystore
A 6-digit verification code appears on both phones; if they match, no one sat in the middle
The Blind Relay
Máy chủ của chúng tôi là một hộp thư cho những phong bì được niêm phong. Nó chỉ giữ dữ liệu mã hóa cho đến khi điện thoại kia nhận được, rồi xóa đi — tối đa sau 30 ngày, nếu điện thoại đó vẫn ngoại tuyến. Nó không bao giờ giữ khóa mã hóa. Thông báo đẩy không mang theo văn bản; điện thoại giải mã ngay trên máy.
PinkyBloom
Encrypts on her phone
Blind Relay
Giữ dữ liệu mã hóa đến khi gửi tới, tối đa 30 ngày
Cannot decrypt
PinkyBond
Decrypts on your phone
Mọi thứ máy chủ của chúng tôi lưu về một tin nhắn, một tệp và một cuộc gọi:
pairingId
Identifier for the pairing; not a name, number or email
senderRole
Which app sent it: PinkyBloom or PinkyBond
messageType
Đó là loại phong bì gì — ví dụ tin nhắn trò chuyện, ảnh chụp trạng thái, biên nhận hay thiết lập cuộc gọi — không bao giờ là những gì bên trong
timestamp
When it was sent
ciphertext
AES-256-GCM blob we cannot open; its length is the only thing we can measure
retention
Bị xóa ngay khi điện thoại kia nhận được; tối đa 30 ngày nếu nó vẫn ngoại tuyến
relayReceipts
Sau khi gửi tới, một bản ghi không có nội dung: đó là tin nhắn nào và liệu nó đã được gửi tới hay đã hết hạn. Lưu trong 30 ngày, để điện thoại người gửi có thể hiển thị “chưa gửi tới”
mediaObjects
Ảnh, tin nhắn thoại, video và tệp tối đa 2 GB, được lưu trên Cloudflare R2 dưới dạng dữ liệu mã hóa với một khóa mới cho mỗi tệp, chỉ di chuyển bên trong tin nhắn đã mã hóa. Bị xóa ngay khi điện thoại của đối tác bạn đã tải xuống; tối đa 30 ngày
callLog
Điện thoại nào trong hai điện thoại đã gọi, khi nào, gọi thoại hay gọi video, đã trả lời, nhỡ hay từ chối, và kéo dài bao lâu. Máy chủ của chúng tôi đọc được — đó là cách một điện thoại đã tắt vẫn biết về cuộc gọi nhỡ. Lưu trong 90 ngày, bị xóa khi bạn hủy ghép đôi. Không bao giờ có âm thanh hay hình ảnh
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.
Khi mạng chặn đường truyền trực tiếp, một máy chủ chuyển tiếp sẽ chuyển các gói tin mà nó không thể đọc được. Không máy chủ media nào từng nghe được cuộc gọi, và không cuộc gọi nào bị ghi âm. Nó hoạt động giữa iPhone và Android. Điều máy chủ của chúng tôi thực sự lưu lại là nhật ký cuộc gọi — điện thoại nào đã gọi, khi nào, gọi thoại hay gọi video, kết quả và kéo dài bao lâu — trong 90 ngày, để đối tác có điện thoại đã tắt vẫn thấy cuộc gọi nhỡ. Thêm thông tin tại /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.
