1
0
mirror of https://github.com/Tygs/0bin.git synced 2023-08-10 21:13:00 +03:00

Improved FAQ

This commit is contained in:
sam 2012-05-21 18:01:52 +02:00
parent fb60e4e332
commit 111255352c

View File

@ -9,14 +9,15 @@
<dt>How does it work?</dt> <dt>How does it work?</dt>
<dd> <dd>
<p>We generate a random key, and encrypt the paste with it using <p>We generate a random key, and encrypt the paste with it using
the sjcl javascript library.</p> the <a href="http://crypto.stanford.edu/sjcl/">sjcl</a>
javascript library.</p>
<p>The content is sent encrypted to the server, which returns the <p>The content is sent encrypted to the server, which returns the
address of the paste.</p> address of the newly created paste.</p>
<p>The javascript code take the address, and add the encryption <p>The javascript code then redirects to this address, but it adds the
key in the URL hash (#).</p> encryption key in the URL hash (#).</p>
<p>When somebody reads the paste, he goes to the URL. If <p>When somebody want to read the paste, he usually just click on a link
the hash with the key is in it, the javascript will use it with this URL. If the hash containing the key is part of it, Obin's
to decrypt the content sent by the server.</p> javascript will use it to decrypt the content sent by the server.</p>
<p>The browser never sends the hash to the server, so it does not <p>The browser never sends the hash to the server, so it does not
receives the key.</p> receives the key.</p>
</dd> </dd>