• 0

dumb question, how to i close source?


Question

11 answers to this question

Recommended Posts

  • 0

Well, Java is rather easy to decompile, so if you rely that much on lack of easy code extraction... You're basically screwed with Java.

Afaik at least.

I could be wrong.

Glassed Silver:mac

  • 0

Java compiles to bytecode which can be rather easily converted back into readable source code with a free tool like this. Java isn't meant for keeping your source code secure and even if you use C++ someone sufficiently dedicated will manage to reverse-engineer your code if they want to. I'm not trying to be offensive, but if you have to ask this question you probably aren't writing anything that would be worth someone's time to try to steal anyway at the moment. Just write your program, practice and don't worry about people decompiling your code because anything you do can only make it slightly harder for them, not stop them.

  • 0

Java compiles to bytecode which can be rather easily converted back into readable source code with a free tool like this. Java isn't meant for keeping your source code secure and even if you use C++ someone sufficiently dedicated will manage to reverse-engineer your code if they want to. I'm not trying to be offensive, but if you have to ask this question you probably aren't writing anything that would be worth someone's time to try to steal anyway at the moment. Just write your program, practice and don't worry about people decompiling your code because anything you do can only make it slightly harder for them, not stop them.

I do not take you comment offensively but I am making encryption programs and I am simply exploring methods to ensure no reverse engineering of the encrypted data can happen (or happen with extreme ease)

  • 0

Could look into an obfuscator. Not 100% foolproof(if somebody wants to decompile your code they will, there are no magic bullets for software protection) but certainly makes it a bit tougher.

  • Like 1
  • 0

I do not take you comment offensively but I am making encryption programs and I am simply exploring methods to ensure no reverse engineering of the encrypted data can happen (or happen with extreme ease)

Pure Java doesn't seem like a too great idea for me here.

Glassed Silver:mac

  • 0

I do not take you comment offensively but I am making encryption programs and I am simply exploring methods to ensure no reverse engineering of the encrypted data can happen (or happen with extreme ease)

A good encryption method is hard to break even if the attacker knows exactly how it works. Obfuscating your source code will NOT improve the strength of the encryption it performs. Everyone knows how AES works, for instance, yet no one can break it. The program TrueCrypt is open-source yet it is widely used to secure sensitive data and is considered secure.

Security comes not from obfuscation of algorithms but from the time it would take an attacker to break the encryption.

  • Like 3
  • 0

A good encryption method is hard to break even if the attacker knows exactly how it works. Obfuscating your source code will NOT improve the strength of the encryption it performs. Everyone knows how AES works, for instance, yet no one can break it. The program TrueCrypt is open-source yet it is widely used to secure sensitive data and is considered secure.

Exactly, encryption should be provably difficult to calculate the reverse of some function. Don't rely on security through obscurity, use logic and proofs!

  • 0

There is no such thing.

You can make it harder yes, if you want to completely stop people from knowing how your program works well then the best and only way I can see to do that is release your program in a non-working state.

If a computer can read and execute it, so can a human (with some effort/tools/hassle)

  • 0

I do not take you comment offensively but I am making encryption programs and I am simply exploring methods to ensure no reverse engineering of the encrypted data can happen (or happen with extreme ease)

A good encryption method is hard to break even if the attacker knows exactly how it works. Obfuscating your source code will NOT improve the strength of the encryption it performs. Everyone knows how AES works, for instance, yet no one can break it. The program TrueCrypt is open-source yet it is widely used to secure sensitive data and is considered secure.

Security comes not from obfuscation of algorithms but from the time it would take an attacker to break the encryption.

This!

OP, forget it, code obfuscation is not about protecting data, it's about making it harder for other programmers to copy your code. As Asik said above, just simply encrypt your data, and for f-sake don't create your own encryption algorithm, use something standard.

This thread is pointless, lets return conversation to your other thread or make a new one on the lines of 'help me design a secure chat client'.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • As someone who isn't in the EU what is all this gatekeeper stuff about anyways?
    • The data center gold rush has tossed all forms of sensibility and reasoning right out of the window. The craziest part being that AI infrastructure isn't driven by consumer demand. It's being driven by manufacturers to force AI onto the market, consumers be damned.
    • Apple has not said whether the new prices are temporary ..... LOL.... These are the new prices peeps, because they will still sell them. Everybody will get used to the price hike = more Profit!
    • EU says AWS and Microsoft Azure should be treated as DMA gatekeepers by Pradeep Viswanathan Under the European Commission's Digital Markets Act (DMA), a company is presumed to be a gatekeeper if it meets certain quantitative thresholds. However, the Commission can still investigate and designate a company even if it does not meet the numeric thresholds, provided the service has a major market impact. The European Commission launched its investigations into AWS and Azure on November 18, 2025, to address unfair or anti-competitive practices in the cloud sector. Today, the European Commission has informed Amazon and Microsoft of its preliminary view that their cloud computing services, AWS and Azure, should be designated as gatekeepers under the DMA. The EC highlighted that Amazon Web Services (AWS) and Microsoft Azure are the largest and second-largest cloud computing services in the European Union. Both of these platforms act as important gateways between businesses and their customers in the EU. The EC further mentioned that AWS and Azure have reached significant turnover, built large and entrenched user bases, and benefit from high switching costs and customer lock-in. Furthermore, their operational capacity and investments appear to have outpaced those of competitors. Teresa Ribera, Executive Vice-President for Clean, Just and Competitive Transition, said the following: It is important to note that the findings are preliminary and do not decide the final outcome. Amazon and Microsoft can now review the findings and respond to the Commission. However, if the Commission confirms its preliminary findings, it will formally designate Amazon and Microsoft as gatekeepers for AWS and Azure. Once designated, Microsoft and Amazon will have six months to bring their cloud services into full compliance with the DMA’s rules and regulations.
    • will EU users be getting the extra 1yr update for free again?
  • Recent Achievements

    • First Post
      kinowa earned a badge
      First Post
    • Rookie
      krychek57 went up a rank
      Rookie
    • Grand Master
      Jaybonaut went up a rank
      Grand Master
    • One Year In
      Philsl earned a badge
      One Year In
    • Dedicated
      Scoobystu earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      436
    2. 2
      +Edouard
      168
    3. 3
      PsYcHoKiLLa
      133
    4. 4
      Xenon
      76
    5. 5
      Michael Scrip
      75
  • Tell a friend

    Love Neowin? Tell a friend!