privly / privly-library

Cryptography library for Privly-type extensions
https://priv.ly
MIT License
7 stars 4 forks source link

use ZeroBin for dead-simple, client-side, usable encryption #7

Closed jancborchardt closed 12 years ago

jancborchardt commented 12 years ago

The project I mentioned to you is ZeroBin. (more info, source code (BSD 3-clause I think), made by @sebsauvage)

Short explanation (taken from kcima on Hacker News): »The genius of this is the realization that browsers do not send the named anchor (technically "fragment identifier"[1]) to the server. Using the named anchor as the cryptographic key enables users to pass around simple URLs to encrypted data. Data is stored on the server, but the server never has access to the complete URL with the key, so it cannot decrypt it.«

So I give you this address http://sebsauvage.net/paste/?44e120bde8118ab1#9iZAutp/KfJA7UbhwBHyL9wdJFyOwHfzLT+l9b8nTOw= And you open it, see »Hey Privly« without even knowing it is stored encrypted. Super nice!

Since Priv.ly is based on sending around links anyway, I think this fits perfectly.

smcgregor commented 12 years ago

Closing this issue since this repo if for the compiled library. See issue here: https://github.com/smcgregor/privly-web/issues/60