Sunday, May 5, 2013

Hashing on client

Hi there,

These queries should be easy fodder :)

I am developing an application and wish to hash (SHA-256, for example) the password before sending it over to the server (PHP script). I have this working in Dev mode using MessageDigest. However, when I come to compile (which it does without error) and deploy, I get a NoSuchAlgorithmException thrown.

So, my question is, why does it work fine in dev mode, but not when compiled? I also get slightly different behaviour between dev mode and compiled code - I (naiivly) assumed they would act the same way. Why do the two versions differ?

Thanks in advance!!

Tim

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment