When building a E2EE LLM Chat App, we encountered this problem. We couldn't find any good open-source library which did this and was is sync across platforms. So, we built it with a cross-compatibility testing suite.
Hey PH!
Builder of Grimlock here.
We built this after running into a painful problem at Privyy.io, our Go backend and TypeScript frontend needed to share encrypted data, but every crypto library is language-specific. That meant either duplicating logic with subtle incompatibilities or trusting a black box.
Grimlock solves this with identical cryptographic implementations in both Go and TypeScript, with a cross-compatibility test suite that verifies Go-encrypted data decrypts correctly in TS and vice versa and back again.
Under the hood:
X25519 ECDH + AES-256-GCM for messages, Argon2id for passcode-derived keys, HKDF-SHA512 for recovery keys.
All with a versioned protocol so you can evolve without breaking existing encrypted data.
Happy to answer questions about the cryptographic design, the cross-lang testing approach, or why we chose these primitives.
Would love your feedback! 🔐
Report
No reviews yetBe the first to leave a review for Grimlock: E2EE Cross Platform OpenSource