Encrypt Data Between Python and TypeScript (AES-GCM and RSA-OAEP)
Encrypt Data Between Python and TypeScript (AES-GCM and RSA-OAEP)
Hi HN! I’m excited to share *Cross-Crypto*, a pair of libraries (Python [1] + TypeScript [2]) to encrypt data between frontend and backend with just 2 functions. *Problem I faced:* Securing API payloads between React (TS) and Python is error-prone. Most solutions are language-specific or use outdated encryption. *Solution:* - AES-256-GCM for data (authenticated encryption). - RSA-OAEP (4096-bit) for key exchange. - Works both ways: TS → Python or Python → TS. *Why it’s unique:* - First lib focused on cross-language interoperability. - Handles key serialization/deserialization automatically. - 100% test coverage for compatibility. Try it: - TS: `npm install cross-crypto-ts` [3] - Python: `pip install cross-crypto-py` [4] Would love feedback! (Code & docs on GitHub [4]). [1] https://github.com/acadyne/cross-crypto-py [2] https://github.com/acadyne/cross-crypto-ts [3] https://npmjs.com/package/cross-crypto-ts [4] https://pypi.org/project/cross-crypto-py [5] https://github.com/acadyne
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
Lisp implementation in modern Java, Go, C#, TypeScript, Python
Compile Python libraries for TypeScript with type completion (umo)
WebRTC-Echoes: Interop for C#, C++, Python, TypeScript, Go and Servers
PolyMCP – Expose Python and TypeScript Functions as MCP Tools
The AI SDK for TypeScript and Python
Dhi – 520x faster data validation for Python, 77x faster for TypeScript
Anonymize data with Python and Pandas
Cerialize – Typescript serialization by annotation
Scala-ts – Scala to TypeScript compiler
DuoCode 1.0 bridges the gap between C# and TypeScript