V
V
Vladimir Gorobets2011-08-08 13:54:22
Programming
Vladimir Gorobets, 2011-08-08 13:54:22

Encode-decode text by key

Tell me how you can encode the text on the server side (php) so that later on the browser side (js) it can be decoded only if you know the key with which this message was encoded . Those. there will be a common stream and from it certain users will need to show certain messages by their key.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Anatoly, 2011-08-08
@taliban

dren.ch/js_blowfish/ - this algorithm works by default in Mcrypt try it

E
ertaquo, 2011-08-08
@ertaquo

The easiest way is XOR and checksum check

G
Gleb Starkov, 2011-08-08
@colonel

Mcrypt
I think that's what you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question