Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

loginpage

Posted on 2006-05-05
3
Medium Priority
?
161 Views
Last Modified: 2010-04-01
What is meant by Encryption/Decrption.

How it is applicable to log in page in jsp
0
Comment
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
fargo earned 400 total points
ID: 16613155
Encrpytion: way to convert plaintext to cipher-text using transformation tech.
Decryption: the reverse way of doing from cipher-text to plain text

To implement it for logins, you are actually talking about password encryption. Generally this can be done in various ways. One is to store the passwords in datastore (database/LDAP/file system.. etc.) in encrypted form with a particular algorithm. When user logs in, app takes the plain-text password, encrypt it and check against the datastore. OR take the plain text password, decrypt the stored pwd from datastore and match. All depends upon requirements.

encrytion/decryption is a vast area and there are various resources in net to go thru it. Some of them are listed below.

java encryption sites with RSA and other algorithms
http://www.aci.net/kalliste/rsa_java.htm
http://aviran.mordos.com/index.php?p=22
http://www.javaalmanac.com/egs/javax.crypto/DesString.html

a complete list in javaalmanc regarding enc/decry.
http://www.javaalmanac.com/egs/javax.crypto/pkg.html#Encrypting%20and%20Decrypting

listing of all alogriths for password encryption
http://www.javaalmanac.com/egs/javax.crypto/ListCipher.html

a good link
http://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_20271732.html?query=Encryption&topics=86

article explaining enc/decry.
http://www.informit.com/articles/article.asp?p=170967&seqNum=4&rl=1
0
 
LVL 9

Author Comment

by:Manikandan Thiagarajan
ID: 16613347
>>plaintext to cipher-text using transformation tech.

meaning of cipher text
0
 
LVL 11

Expert Comment

by:fargo
ID: 16613423
cipher-text is nothing but encrpyted text. The plain text data which is encrpyted is called ciphertext.
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Dropbox has a relatively new feature called Smart Sync.  This feature allows Dropbox Professional (not plus) and Dropbox Business (if enabled) users to store information in Dropbox WITHOUT storing any files on their computer.
As a matter of fact, Outlook OST files are of much importance in relation to Exchange mailbox. OST files are independent as they are simply copy of data of a user’s mailbox on Exchange Server. Though, if the server’s status is changed or it is dama…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question