• 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

    • Save 83% on PRO$PER Lifetime Pass by Sterling Stock Picker by Steven Parker Today's deal from our Apps + Software section of the Neowin Deals store, lets you save 83% on PRO$PER Lifetime Pass by Sterling Stock Picker. Note: Only available to NEW users. This deal is exclusive to Stacksocial. Gain Financial Freedom Through Expert Education PRO$PER Financial Success System is a comprehensive financial education platform designed to help individuals build stronger money habits, make informed financial decisions, and create a clear path toward long-term wealth. The program includes 12+ in-depth financial courses, more than 150 lessons, personalized learning pathways, and a financial dashboard that tracks your progress and goals. Members receive lifetime access to expert-led training from seasoned financial educator Jaden Sterling, along with exclusive resources such as worksheets, eBooks, webinars, and practical implementation tools. The platform also features Finley AI, an intelligent financial coaching assistant that delivers personalized guidance, recommendations, and educational support tailored to your unique financial journey. Ideal for anyone looking to reduce debt, improve budgeting skills, grow investments, prepare for retirement, or achieve greater financial confidence and stability. Whether you're a beginner learning the fundamentals of personal finance or someone seeking to strengthen an existing financial plan, the platform provides actionable strategies and step-by-step guidance to help you reach your goals. Through personalized recommendations, community support, and AI-powered coaching, members can develop better financial habits, avoid common money mistakes, and stay focused on long-term success. By combining education with practical implementation, PRO$PER empowers users to build sustainable wealth, improve financial security, and create a stronger foundation for their future. Comprehensive Financial Training Made Simple Financial Success Blueprint: Learn the fundamentals of budgeting, saving, debt reduction, investing, retirement planning, and wealth creation. 12+ Comprehensive Financial Courses: Access a growing library of expert-led courses covering personal finance and money management. 150+ Financial Lessons: Explore a wide range of educational content designed to strengthen your financial knowledge. Lifetime Access: Enjoy unlimited access to all current and future training materials at your own pace. Self-Paced Learning: Study anytime, anywhere, with no deadlines or fixed class schedules. Expert-Led Instruction: Learn from experienced financial educator and mentor Jaden Sterling. Step-by-Step Learning Paths: Follow structured roadmaps that simplify complex financial topics. AI-Powered Support for Financial Success Finley AI Financial Coach: Get on-demand guidance, insights, and support from an AI-powered financial assistant. Personalized Financial Dashboard: Track financial goals, confidence levels, progress, and areas for improvement. Tailored Learning Recommendations: Receive customized course suggestions based on your profile and objectives. Investment & Wealth-Building Insights: Explore strategies to grow wealth and make informed financial decisions. Resources and Support to Thrive Financially Decision-Making Support: Gain confidence in managing money, investing, and long-term planning. Community Support Network: Connect with like-minded members, share experiences, and learn from others. Exclusive Educational Resources: Access eBooks, worksheets, webinars, guides, and practical financial tools. Actionable Learning Approach: Apply concepts immediately through exercises, implementation strategies, and real-world examples. Good to know Length of access: Lifetime Redemption deadline: redeem your code within 60 days of purchase Access Options: Desktop and mobile Max number of devices: Unlimited Updates included Only available to NEW users PRO$PER Lifetime Pass by Sterling Stock Picker normally costs $499 but it can be yours for only $79.99, that's a saving of $420 (83%) off! For terms, and more details click the link below. PRO$PER Lifetime Pass by Sterling Stock Picker at 83% off (was $499) Although priced in U.S. dollars, this deal is available for digital purchase worldwide. Support queries If you have queries or need support for any of the Neowin Deals, please use the contact form here. Neowin Deals are managed and sold by StackCommerce who represent Neowin on an affiliate basis. Why we post these deals We post these because we earn commission on each sale so as not to rely solely on advertising, which many of our readers block. It all helps toward paying staff reporters, servers and hosting costs. So for those that keep moaning and complaining, be thankful we're still online for you to even do that. Other ways to support Neowin Whitelist Neowin by not blocking our ads Create a free member account to see fewer ads Make a donation to support our day to day running costs Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: Neowin benefits from revenue of each sale made through our branded deals site powered by StackCommerce.
    • Windows 10 is end-of-life (EOL) anyway.
    • 1. It only affects Windows 10, which is EOL anyway. 2. NVIDIA had very serious driver issues for >6 months after the GeForce RTX 5000 series came out.
  • Recent Achievements

    • First Post
      Tom Schmidt earned a badge
      First Post
    • One Month Later
      D0nn13 earned a badge
      One Month Later
    • Rookie
      +ChiefOfNeo went up a rank
      Rookie
    • One Year In
      Tom Schmidt earned a badge
      One Year In
    • One Month Later
      Tom Schmidt earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      456
    2. 2
      +Edouard
      177
    3. 3
      PsYcHoKiLLa
      123
    4. 4
      Michael Scrip
      84
    5. 5
      Xenon
      76
  • Tell a friend

    Love Neowin? Tell a friend!