Hello I am creating a program which encrypt files and is written in Java. The executable file is .jar and my question is: .jar files/programs can be hacked and the hacker take the algorithm of decryption? As i know .jar files is compressed classes.
1 reply to this topic
#1
Posted 08 August 2011 - 06:41 AM
|
|
|
#2
Posted 08 August 2011 - 07:32 AM
Yes, every algorithm can be "hacked" if one obtains the files, containing it - even .exe files(Machine code can be read too!).
The only way to keep the algorithm public and safe, is by using passwords/keys. So your program will use the provided key to decrypt the message/file right. The right key contains the right "weights" for the algorithm, but the key cannot be included in the encrypted files, or the hacker can read it. Just like .rar and .zip passwords work.
The only way to keep the algorithm public and safe, is by using passwords/keys. So your program will use the provided key to decrypt the message/file right. The right key contains the right "weights" for the algorithm, but the key cannot be included in the encrypted files, or the hacker can read it. Just like .rar and .zip passwords work.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









