Step 2 seems to be a bigger weakness. If you can make sure the server sends a “big enough” salt and NEVER the same salt, twice (I suspect a small portion of decent random numbers plus an increment counter, then hashing MAY be enough, but I can’t prove that it’s ), this is likely to be enough. Also, follow the ssg instructions and encapsulate it all in an SSL session.
source
share