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 :?:

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

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 )

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.