diff --git a/customize.dist/email.js b/customize.dist/email.js new file mode 100644 index 000000000..52323f755 --- /dev/null +++ b/customize.dist/email.js @@ -0,0 +1,23 @@ +define(function () { + var Email = {}; + var patt = /./g; + var each = function (d) { + d = d || 1; + return function (c, i) { + return String.fromCharCode((c.charCodeAt(0) + d)); + }; + }; + + Email.makeScrambler = function (n) { + return { + encrypt: function (S) { + return S.replace(patt, each(n)); + }, + decrypt: function (S) { + return S.replace(patt, each(-n)); + } + }; + }; + + return Email; +}); diff --git a/customize.dist/index.html b/customize.dist/index.html index 877c82b6b..17aa8d623 100644 --- a/customize.dist/index.html +++ b/customize.dist/index.html @@ -1,10 +1,10 @@ - Cryptpad :: Zero Knowledge, Collaborative Real Time Editing + Cryptpad: Zero Knowledge, Collaborative Real Time Editing - + @@ -40,7 +40,7 @@

How It Works

CryptPad uses a variant of the Operational transformation algorithm which is able to find distributed consensus using a Nakamoto Blockchain, a construct popularized by Bitcoin. This way the algorithm can avoid the need for a central server to resolve Operational Transform Edit Conflicts and without the need for resolving conflicts, the server can be kept unaware of the content which is being edited on the pad.

-

If you have any questions or comments, you can open an issue on github, or come say hi on irc (irc.freenode.net).

+

If you have any questions or comments, you can open an issue on github, come say hi on irc (irc.freenode.net), or send us an email.