![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Professional Programmer
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 3
![]() |
Not long time ago, I wrote a simple Xor - encryption and then wrote a brute force attacker for it. It was a great learning experience.
|
|
|
|
|
|
#12 |
|
The Oblivious One
Join Date: May 2005
Location: Ontario, Canada
Posts: 630
Rep Power: 4
![]() |
Like you thought, it would be for learning expiriences
![]() I like the idea of doing + and - rather then just adding. I might also reverse the encrypted text, and maybe add a random number from 1 - 9 to all of them. Example: "perl" p + 2 = r e - 1 = d r + 4 = v l - 8 = d rdvd = dvdr (dvdr) + 4 hzhu final word = "hzhu" I would have the program read from program produced files, with maybe the scramble text at the top of the file, and the key at the bottom. The encryptor would create the files ( either getting input from a file or from stdin; both with command line options ), and decrypt the files and display the output in either a file, or stdout. sounds good?
__________________
Dr. Zoidberg: [ecstatic] I'm going to a movie... with FRIENDS! |
|
|
|
|
|
#13 |
|
Professional Programmer
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 3
![]() |
Yes, but I don't like the idea to put the key in the file... it can be cracked very easy
|
|
|
|
|
|
#14 |
|
Programming Guru
![]() ![]() ![]() |
sounds good.
Make the key be part of the parameter on the command line. Do not include it in the text.
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|