Total members 11894 |It is currently Sat Nov 23, 2024 2:59 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





i'm a new member of this groups.
now i'm studying web application with jsp

how can i encrypt password from HTML form and
store it in database???

i use mysql for my database

can anyone help me......




Author:
Proficient
User avatar Posts: 280
Have thanks: 1 time

There are 2 ways you can do this:
1) Use something like DES encoding (I believe the package is
javax.encryption). This is the preferred way.
2) Come up with your own encryption algorithm. Here's one way of doing it:
a) Pad the incoming password with null '\0' characters
b) Come up with 10 randomization patterns.
c) Create a 1st digit. This tells which randomization pattern to use.
d) Insert random characters according to the randomization pattern
e) Insert substitute characters according to some algorithm.

The more you complex you can make e), the better.

_________________
Please recommend my post if you found it helpful


Author:
Proficient
User avatar Posts: 228
Have thanks: 0 time
Post new topic Reply to topic  [ 2 posts ] 

  Related Posts  to : how to encrypt password in jsp
 Encrypt connection string     -  
 generate password using php     -  
 Protect page using password in PHP     -  
 php Password protect a page     -  
 Input username and password in JAVA     -  
 simple password Strength checker     -  
 Password Security Manager Access File Java     -  
 Mile200: Removing Username, Password & Login from Header     -  
 AJAX Login Code getting username and password dynamically .     -  
 Encrypt/Decrypt a file from source file to target file.     -  









Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com