954,549 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Java Encryption (Elections System)

Hi everyone, i am building a secure online voting system for my project, i really need some tips on how i can go about encrypting the information stored in a database which contains the votes submitted by the candidates. I was told by my project supervisor to try and implement public/private key encryption, i really dont know where to start. Please if u have any more ideas i could use to make the system more secure let me know. Thanks :?:

bondito
Newbie Poster
17 posts since Sep 2005
Reputation Points: 10
Solved Threads: 1
 

Java has a really nice security package that will do everything for you.

server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
 

Java Cryptography Extension (JCE) which is part of J2SE(1.4 onwards) has packages and framework to carryout encryption.

Check out following sites
http://java.sun.com/j2se/1.4.2/docs/guide/security/jce/JCERefGuide.html
http://java.sun.com/j2se/1.4.2/docs/guide/security/jce/HowToImplAJCEProvider.html

Oracle also provides DBMS packages which can be used to carryout encryption. Following are the Oracle packages that have functions related to encryption

Oracle Package DBMS_OBFUSCATION_TOOLKIT (Oracle Database 8i, 9i and 10g )
Oracle Package DBMS_CRYPTO (Oracle Database 10g )

ckmajor
Newbie Poster
2 posts since Feb 2005
Reputation Points: 10
Solved Threads: 0
 
Hi everyone, i am building a secure online voting system for my project, i really need some tips on how i can go about encrypting the information stored in a database which contains the votes submitted by the candidates. I was told by my project supervisor to try and implement public/private key encryption, i really dont know where to start. Please if u have any more ideas i could use to make the system more secure let me know. Thanks :?:

tip#1) Please DO NOT allow the 'candidates' to submit all of the votes. Wouldn't it make much more sense to allow the 'voters' to submit the votes?

tip#2) Stay away from the public/private key charade. Are you going to lock-up your house and then toss duplicates of the key into the street for anyone to pick up?

tip#3) Code for common encryption systems are widely available on the 'net -- if you can't find Java code for your favorite one(s), then it'd be an educational benefit to you to do the conversion(s). http://csrc.nist.gov/CryptoToolkit/aes/rijndael/

Nathan.

Evenbit
Junior Poster
140 posts since Mar 2005
Reputation Points: 99
Solved Threads: 5
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You