Welcome to Dream.In.Code
Become a Java Expert!

Join 149,504 Java Programmers for FREE! Get instant access to thousands of Java experts, tutorials, code snippets, and more! There are 1,334 people online right now. Registration is fast and FREE... Join Now!




Encryption algorithms

 
Reply to this topicStart new topic

Encryption algorithms, Java Beginner

tajin_village
13 Aug, 2007 - 06:57 PM
Post #1

New D.I.C Head
*

Joined: 13 Aug, 2007
Posts: 4


My Contributions
hello everybody;

i am student from malaysia, here i need help from you all, for your information, i am working for my final year project now, My project is Smart Encryption System which it can encrypt all type of files and sizes. i decide to use java programming because there are many coding available. i also used 3 algorithm to encrypt/decrypt the file which are DES,3DES and Blowfish. because i am very beginner user, where i can learn the java programming. some one can suggest me what the 3 best algorithm easy to use with java.

tq.
User is offlineProfile CardPM
+Quote Post

csmanoj
RE: Encryption Algorithms
13 Aug, 2007 - 08:08 PM
Post #2

D.I.C Head
Group Icon

Joined: 6 Aug, 2007
Posts: 142



Thanked: 3 times
Dream Kudos: 50
My Contributions
You should read this - http://java.sun.com/j2se/1.4.2/docs/guide/...CryptoSpec.html

It gives information about the cryptography architecture in java.

Update : More recent link provided in the post directly below this

This post has been edited by csmanoj: 14 Aug, 2007 - 08:44 AM
User is offlineProfile CardPM
+Quote Post

1lacca
RE: Encryption Algorithms
13 Aug, 2007 - 11:49 PM
Post #3

code.rascal
Group Icon

Joined: 11 Aug, 2005
Posts: 3,822



Thanked: 12 times
My Contributions
As csmanoj wrote, have a look at the JCE, but since J2SE 1.5 it is integrated into the SDK I would assume this more recent link.
It has everything, even sample codes.
Since it is a framework, the algorythms are equally easy to use - maybe those taht use public and private keys need a bit more attention, than secret key ones. (I would only suggest reading up on their main features, because some of them might need extra care taken, like RSA needs padding for large data, or effective keylength)
User is offlineProfile CardPM
+Quote Post

tajin_village
RE: Encryption Algorithms
15 Aug, 2007 - 09:47 AM
Post #4

New D.I.C Head
*

Joined: 13 Aug, 2007
Posts: 4


My Contributions
thanks friends..anything please allow me to know. i very appreciate it.. what is the best compiler? now i prefer to use Netbean or Eclipse...

This post has been edited by tajin_village: 15 Aug, 2007 - 09:57 AM
User is offlineProfile CardPM
+Quote Post

1lacca
RE: Encryption Algorithms
15 Aug, 2007 - 12:31 PM
Post #5

code.rascal
Group Icon

Joined: 11 Aug, 2005
Posts: 3,822



Thanked: 12 times
My Contributions
Are you asking about compilers or IDEs? Netbeans and Eclipse are IDEs, and they both use whatever compiler (SDK) you configure in them (the most common is SUN's, but there are a couple of others).
For a compiler I would stay with the SUN SDK.
There are a couple of threads here on IDEs, they both have their advantages and shortcomings, but for general Java apps, there is not much difference.
User is offlineProfile CardPM
+Quote Post

tajin_village
RE: Encryption Algorithms
15 Aug, 2007 - 08:07 PM
Post #6

New D.I.C Head
*

Joined: 13 Aug, 2007
Posts: 4


My Contributions
QUOTE(1lacca @ 15 Aug, 2007 - 01:31 PM) *

Are you asking about compilers or IDEs? Netbeans and Eclipse are IDEs, and they both use whatever compiler (SDK) you configure in them (the most common is SUN's, but there are a couple of others).
For a compiler I would stay with the SUN SDK.
There are a couple of threads here on IDEs, they both have their advantages and shortcomings, but for general Java apps, there is not much difference.


sorry friends,actually i very beginner..what is the difference compilers or IDEs?let say i want to built the java app, did i need to have both the compilers or IDEs?
User is offlineProfile CardPM
+Quote Post

1lacca
RE: Encryption Algorithms
15 Aug, 2007 - 10:17 PM
Post #7

code.rascal
Group Icon

Joined: 11 Aug, 2005
Posts: 3,822



Thanked: 12 times
My Contributions
You need a compiler, and you can use an IDE to make your life easier (it's only a graphical user interface, so you can point and click on commands, automates some actions, and makes editing your code easier via syntax highlighting), whereas a compiler is usually a command line program, that creates an executable (or object, lilbrary, whatever) file from your source files.

This post has been edited by 1lacca: 15 Aug, 2007 - 10:18 PM
User is offlineProfile CardPM
+Quote Post

tajin_village
RE: Encryption Algorithms
17 Aug, 2007 - 12:38 AM
Post #8

New D.I.C Head
*

Joined: 13 Aug, 2007
Posts: 4


My Contributions

where i can find free source code for encryption and decryption in java?..anyone can suggest me what the best compiler and IDEs to used for my system? smile.gif because it require three algorithm together in the system..
User is offlineProfile CardPM
+Quote Post

s_myroslan
RE: Encryption Algorithms
23 Aug, 2007 - 01:42 AM
Post #9

New D.I.C Head
*

Joined: 17 Jan, 2007
Posts: 1


My Contributions
QUOTE(tajin_village @ 17 Aug, 2007 - 01:38 AM) *

where i can find free source code for encryption and decryption in java?..anyone can suggest me what the best compiler and IDEs to used for my system? smile.gif because it require three algorithm together in the system..


malay=pakai jer eclipse atau netbean, dua dua ok

english=eclipse or netbean, both are great..
User is offlineProfile CardPM
+Quote Post

1lacca
RE: Encryption Algorithms
23 Aug, 2007 - 02:18 AM
Post #10

code.rascal
Group Icon

Joined: 11 Aug, 2005
Posts: 3,822



Thanked: 12 times
My Contributions
QUOTE(tajin_village @ 17 Aug, 2007 - 10:38 AM) *

where i can find free source code for encryption and decryption in java?

A link is already posted in this thread. (Hint: by me)

QUOTE(tajin_village @ 17 Aug, 2007 - 10:38 AM) *

anyone can suggest me what the best compiler and IDEs to used for my system? smile.gif because it require three algorithm together in the system..

The standard Sun compiler will do, and both Eclipse and NetBeans are just fine as an IDE, but generally any modern IDE will do - and it isn't overly complicated to do even without an IDE.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 06:50PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Java Help!

Java Tutorials

Reference Sheets

Java Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month