I've never played with one of them, but there are some "one way"
encryption algorithms that can acomplish this job.
They are called "one way" cause you cant restore an already encrypted
item, you must encrypt a new one and see if they match. However in some
circunstances it can be very easy to bypass this security system.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Jonah
Sent: Jueves, 29 de Noviembre de 2001 01:32 p.m.
To: Dynapi-Help
Subject: [Dynapi-Help] theoretical javascript question


Would it be possible, in theory, to securely validate a password client
side?

Obviously, simple string matching would not work because the client
could view the source to find the correct password.

But I have this vague notion (my upper level math skills are very
rusty):

Parsing the password up into characters perhaps, converting the chars to
numbers, and then passing the numbers into the variables of a set of
non-linear equations that must be solved simulataneously (in javascript,
a set of functions that must return true simultaneously).  I have no
idea how you could generate the necessary difficult-to-solve set of
equations given a particular password, but am curious to know if such an
approach is viable even in theory.  Anyone have any ideas?

Thanks,
Jonah


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help



_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to