Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-22-2008, 04:14 PM   PM User | #1
InsDel
New to the CF scene

 
Join Date: Nov 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
InsDel is an unknown quantity at this point
javax.crypto: Can anyone create a simple encryption class?

I am doing a science project comparing how different ciphers withstand bit flipping/removal.
The files will be corrupted separately (by me with a hex editor), so don't include any checksums or anything similar.

Could anyone make a class that uses javax.crypto to encrypt a file using AES, DES, and Blowfish such that it can be executed by a command like
Code:
java crypt (AES|Blowfish|DES) (encrypt|decrypt) key fileIn fileOut
Please try to keep it in a single .java file.
(I'd like to be able to see the source.)

Last edited by InsDel; 11-22-2008 at 06:41 PM.. Reason: clarification
InsDel is offline   Reply With Quote
Old 11-22-2008, 06:06 PM   PM User | #2
shyam
Senior Coder

 
shyam's Avatar
 
Join Date: Jul 2005
Posts: 1,563
Thanks: 2
Thanked 163 Times in 160 Posts
shyam will become famous soon enough
you want fries with that too?
__________________
You never have to change anything you got up in the middle of the night to write. -- Saul Bellow
shyam is offline   Reply With Quote
Reply

Bookmarks

Tags
encryption

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:09 PM.


Advertisement
Log in to turn off these ads.