|
You have worked hard to get here, please don't tell anyone how you managed to figure it out, let them work for this knowledge!.
JavaScript Encryption & Decryption...
Here's an uncrackable javascript routine to encode & decode any text you want! That's right, so far, no one has been able to break open any text that has been encrypted using this routine.. I am NOT the author of this routine, I am simply passing it on to you for you to perhaps use for yourself.
The author's homepage can be found here
Introduction:
I bet you never seen
anything like this before! Ok, it looks like an
encryption program
and that is just what it is. But there is no
decode button? Right,
none is needed. Enter a password,
anything is okay,
and click encrypt. (I bet you already did that
and saw that it does
in fact make a mess of the text)
I may try to describe
the encryption process later if I can find
the words... It's
simply a document re-arranger. I did not want to
have a long index
key of all possible characters so I decided to
just mix up the text.
Mixing is the easy bit but mixing in an
ordered manner is
a bit harder. Harder still is mixing the text in
such a way that you
can't pick the sequence used. A mix
sequence which can
be unscrambled by hand after a few minutes
examination would
be useless. So I have a complex letter
re-arrangement method.
This brings us to the hardest part:
decoding. Do we have
the technology to unscramble the coded
text?
Who cares!?
I could go into the
complete lecture on the origin of this
encryption methods
but that requires in-depth knowledge of both
Mandlebrots and 'The
Game Of Life' (no, not that board game for
children...) as this
is a combination of both AND some binary
alignments. Which
all means I first got the idea messing around
with pretty patterns
which moved around and eventually
re-ordered themselves
into what they started with.
So you want to know
how to decode the messed up text? Glad
you asked. If you
encrypt the text 6 times you get the original text
again! Self aligning
mess-it-up routine... So you encrypt the text
5 times and show only
that on your secret message page.
Decode the text once
with the correct password and there is the
original. I have found
some passwords which have an encryption
cycle of 2, one with
a cycle of 3, some with 4 and most with 6
iterations. A few
have required 12 and one has a massive 24!
Since this program
is written in javascript, a 6 cycle password
and a reasonable sized
bit of text is best. Sure takes a long time
to get a huge block
of text cycled through 5 encryption iterations
but 1/5th the time
to decode the text (based on a 6 iteration
cycle) so the people
who will receive the coded text will not get
impatient and cancel
before it's finished.
Unfortunately I cannot
claim to understand the relationship
between password and
encryption cycle yet. Maybe I do not
have to...
Okay, so what do we
have? An encryption method which
requires no decryption
method, no reference of possible
characters (javascript
idiosyncrasy) or index table and it's
difficult to manually
decode.
If you encrypted some
text and then used a second password to
encrypt it again,
you need to encrypt it another 5 times with the
second password and
then another 5 times with the first
password (assuming
that both passwords require 6 iterations for
a cycle) to decode
the entire text.
1, How
to use this encryption Script
2, Encrypt
some text
3. Demo
of this script in use.. Note, since no one could crack this demo the author
finally
posted the correct password for this demo.
4. How
to use this script in your web pages
Return |