Hi i am a newbie in
jsp.
i have some jsps for create new user(names&passwords)
these are saved in a database (mysql).
for more details look here
here
http://javaknowledge.info/login-and-registration-example-in-jsp-with-session/
but passwords are saved withoud an encryption.
i want to save them with md5-encryption...
in internet i found a "method"?
but when i write that in my jsp-file then there show up
errors like these
An error occurred at line: 5 in the jsp file: /registration.jsp
MessageDigest cannot be resolved to a type
2:
3: <%!
4: private
String createHash(String text){
5: MessageDigest md5;
6: StringBuffer sb = new StringBuffer();
7: try {
method for string-md5-encyption
example web-app for create new users and save it to database (mysql)