Any ideas on what is wrong then? On Jun 10, 1:03 pm, Nacho Coloma <icol...@gmail.com> wrote: > That should not be your > problem:http://code.google.com/appengine/docs/java/jrewhitelist.html > > I am using MD5 in AppEngine without issues. > > On Jun 10, 3:17 pm, Michael <mrher...@gmail.com> wrote: > > > > > Hi, > > > I am pretty new to app engine (and Java) and I am seem to have run in > > to a wall. I want to do an MD5 hash and I was trying to use the > > java.security package, but I get: > > [ERROR] Line 3: The import java.security cannot be resolved > > > I am thinking that it is because app engine can't use java.security? > > > Here is the MD5 code I have > > > import java.security.MessageDigest; > > import java.security.NoSuchAlgorithmException; > > ... > > try { > > MessageDigest digest = java.security.MessageDigest.getInstance("MD5"); > > digest.update("test".getBytes()); > > PW = digest.digest().toString(); > > > } catch (NoSuchAlgorithmException e) { > > } > > > Am I doing something wrong, or is there a different way to get a MD5 > > hash? I also need to do the same thing client side using GWT if their > > is any advice for that too. > > > Thanks > > Michael
-- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.