Geolocation and Homomorphic Encryption
summary
Demonstrates hiding a user’s lat/long by encrypting coordinates with the pillar crypto system in JavaScript, sending 617-digit numbers to a server that computes differences, multiplies by random scalars, and returns encrypted offsets the client decrypts; a rectangle “Colorado” treasure‑hunt demo works end‑to‑end. Limits are practical: Paillier only supports addition and scalar multiplication so the server cannot sort distances, forcing a geohash + random offset workaround to avoid corner‑leakage; JS keygen and Jupyter had performance hiccups.
AI-written summary · about
