•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 402,756 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,679 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 1401 | Replies: 7
![]() |
•
•
Join Date: Jun 2004
Location: H4x0rville
Posts: 2,105
Reputation:
Rep Power: 9
Solved Threads: 18
I know how. It depends on what you have encrypted. If you don't know the encryption scheme then you've got some work ahead of you. Take the ceaser cypher for instance, to reverse the working of that, you simply do something like this:
Of course if your trying to break some ecryption, the work is beyond the scope of me.
public String shiftBack(String text)
{
long convert = 0;
String finalResult = "";
for (int i=0; i<text.length(); i++)
{
convert = (long)text.charAt(i) -3;
finalResult += (char)convert;
}
return finalResult;
}Of course if your trying to break some ecryption, the work is beyond the scope of me.
Why would you want to break a decrypted file??
Can you not just open it?? lol
Can you not just open it?? lol
01001001011001100010000001111001011011110111010100100000011000110110000101101110
00100000011100100110010101100001011001000010000001110100011010000110100101110011
00100000011110010110111101110101001000000110111001100101011001010110010000100000
0110100001100101011011000111000000101110
00100000011100100110010101100001011001000010000001110100011010000110100101110011
00100000011110010110111101110101001000000110111001100101011001010110010000100000
0110100001100101011011000111000000101110
•
•
Join Date: Jun 2004
Location: H4x0rville
Posts: 2,105
Reputation:
Rep Power: 9
Solved Threads: 18
•
•
Join Date: Oct 2004
Location: San Francisco, CA
Posts: 338
Reputation:
Rep Power: 4
Solved Threads: 2
Good luck if the file was encrypted usign unlimited strenght encryption, which is available for java (if you live in the usa). You just have to download it seperately. Do you know what encryptions scheme was used? Because if the file was hashed then there is no way to retrieve it, except for brute force attack which will take days...weeks...years!!! (depending on the length), days for anything within 5-7 characters, good luck on anything longer! And if you are building a brute force method you definatly do not want to do it in java as it is too slow, use c++ as it is much faster
![]() |
•
•
•
•
•
•
•
•
DaniWeb Java Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Creating login screens in VB6 (Visual Basic 4 / 5 / 6)
- Use Backup to Restore Files and Folders on Your Computer in Windows XP (Windows tips 'n' tweaks)
- Need a little help with password code (C++)
- help :) (Java)
- errors make me close program (C#)
- No security/ MD5 (Getting Started and Choosing a Distro)
- Encoding/Decoding (C)
- Use Backup to Back Up Files and Folders on Your Computer in Windows XP (Windows tips 'n' tweaks)
- dvd help (Geeks' Lounge)
Other Threads in the Java Forum
- Previous Thread: Reading an array from a file
- Next Thread: tutorials




sadly, but maybe later on i will try again when java speeds up abit lol
Linear Mode