encrypting with java

David101

Member
Jul 13, 2003
69
0
66
hey guys i got a quick question that i cannot yet answer becasue i'm still a newbie

i wanna use soemthing like this code, but i'm concerned about how easy this would be to crack

it basically encrypts soemthing with a given password defined in the code...wouldn't somebody be able to reverse engineer this and find the password? or is my understanding of how 'easy' this is completely wrong?

if what i'm saying is true, how can i make it more difficult for someone to be able to do this. basically i need to create a program and distribute it, it will dump certain information to a file and encrypt it, but i want to make it as hard as possible for whoever is using it to know what information is being grabbed

i'm guessing there is no easy way unless i make it way more complex and have it communicate with some outside server or soemthing?

thanks guys, if you guys could just point me in the right direction/links or whatever i'll read it and try to figure it out on my own
 

David101

Member
Jul 13, 2003
69
0
66
edit sorry i realised this won't work with what i wanna do becasue if they could reverse-engineer the code to find the password then they would realise its random and decode the file, look at the structure of how i did things and spoof a program
------

i thoghut abotu it fora sec and i think ill just make it random but have the password very sort...so afterwards ill write another program to decrypt the information (brute), which will take hours/days or whatever. i figure this will work since aslong as i get the file quickly from the person after it gathers information, then at the cost of time, i have an unmodified file?

i'm such a newbie lol
 

Cogman

Lifer
Sep 19, 2000
10,283
134
106
why does this sound like a virus to me? Anyways, I would suggest using something like GPG where their are 2 keys, that locking key and the unlocking key. Does the program need to know the unlocking key? if so, I don't know of any good way to keep things encrypted if your program is doing both the encryption and decryption at the same time.
 

David101

Member
Jul 13, 2003
69
0
66
thank you for the reply. after some research i think im gonig to go to c++ for more application-hardening methods.

its actually gonig to be an anticheat for a game, the program needs to do encryption only but i need to know how to decrypt after, so i was hesitant to put the password in the source code, becasue i dont know how easy it would be to get from the asm code or whatever.

i will look into gpg, thanks man. it seems like that would work
 
Sep 29, 2004
18,656
67
91
All encryption is breakable. Your goal should be to make it hard enough to break, that the average person will not be able to decrypt it. people good at cracking will be able to crack your code no matter what you do. The only thing that truly would work is some sort of server authorization much like how Steam works. I can't believe that has not been cracked though.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |