LightPHE: Lightweight Partially Homomorphic Encryption for Python
Homomorphic encryption enables computations to be performed directly on encrypted data without requiring access to the private key. This allows data to be securely stored in the cloud while still being processed using the cloud’s computational power. Meanwhile, the cloud remains unaware of the actual data it is handling. Although fully homomorphic encryption has become available in recent years, when considering performance trade-offs, partially homomorphic encryption proves to be a more efficient and practical choice. It is significantly faster, requires fewer computational resources, and…
What it does
In the maker’s words, at launch
Homomorphic encryption enables computations to be performed directly on encrypted data without requiring access to the private key. This allows data to be securely stored in the cloud while still being processed using the cloud’s computational power. Meanwhile, the cloud remains unaware of the actual data it is handling. Although fully homomorphic encryption has become available in recent years, when considering performance trade-offs, partially homomorphic encryption proves to be a more efficient and practical choice. It is significantly faster, requires fewer computational resources, and produces much smaller ciphertexts and key sizes. If your specific task doesn't demand the full homomorphic capabilities, opting for partial homomorphism is the logical decision. Herein, LightPHE is a hybrid PHE library that integrates multiple encryption schemes, including RSA, ElGamal, Exponential ElGamal, Elliptic Curve ElGamal (Weierstrass, Koblitz, and Edwards forms), Paillier, Damgård-Jurik, Okamoto–Uchiyama, Benaloh, Naccache–Stern, and Goldwasser–Micali.
Does the same job
all alternatives →- DHDistributed Homomorphic Encryption Adder (Weekend Project)2013 · 9ac345a5509a.github.io · ▲104
- TFTranscrypt – Fast, small Python 3.5 to JavaScript transpiler2016 · transcrypt.org · ▲121
- NANuFHE: A GPU implementation of fully homomorphic encryption in Python2018 · github.com · ▲8
- PAPyBV – A Python Implementation of the BV Homomorphic Encryption Scheme2017 · github.com · ▲9
- RVRqlite v4.0 – With node-to-node encryption2017 · github.com · ▲101
- AAArcaneVM – A Fully Homomorphic Encryption Brainfuck Virtual Machine2019 · github.com · ▲131
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 1d ago · opentrailpaper.com

Launched alongside, February 2025
the whole month →
Screen Studio 3.0▲1,833Beautiful screen recordings with instant shareable links
Growth · 2025 · screen.studio
- IG
I was at FB/Meta from late 2013 to early 2023, mostly working in the compiler/runtime spaces. I got hit in the spring 2023 layoff wave. I immediately started making games in my newfound free time (a lifelong interest, and I even worked in AA(A?) back ca. ~2000), and in October 2023 I stumbled upon the idea of a roguelike pachinko/plinko game inspired by Luck Be A Landlord. Things snowballed quickly, I started talking to publishers, then worked like crazy through all of 2024, almost the hardest I've ever worked in my career, and launched the game in December 2024. It's sold…
Work · 2025


- IB
i wanted to change the habit of reaching for my phone in the morning and doomscrolling away an hour so i built an app to help me. now i have to literally touch grass before accessing my most distracting apps the app is built in swiftui, uses the screen time apis provided by apple and google vision to recognise grass or not i'd love to get your thoughts on the concept.
Life & fun · 2025 · touchgrass.now