HomeCryptographyFunctional Encryption: Decrypt Only f(x), Never x

🧮 Functional Encryption: Decrypt Only f(x), Never x

Encrypt a dataset, mint a functional key sk_f for sum, average or threshold, and watch decryption reveal only f(x) — never the raw records — side by side with all-or-nothing traditional encryption.

Cryptography2DModerate60 FPS
functional-encryption ↗ Open standalone
⚙ Under the hood

Encrypt a 10-record dataset and mint a functional key sk_f bound to one function (sum, average or threshold count). Decrypting with sk_f reveals only f(x); the raw records stay opaque in the ciphertext grid the whole time. Side by side, a traditional-encryption panel shows the all-or-nothing alternative: unlock with the full master key and every record appears, or attempt raw decryption without it and the request is denied on both panels.

functional encryptioncryptographysk_fpredicate encryptionciphertextcanvas 2D

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)