5 Replies - 359 Views - Last Post: 24 May 2013 - 04:39 PM Rate Topic: -----

#1 Ambitious  Icon User is offline

  • D.I.C Head

Reputation: 5
  • View blog
  • Posts: 133
  • Joined: 08-May 13

Encrypting my code?

Posted 17 May 2013 - 03:50 PM

Anyone know how to obfuscate my source code after I am done coding my program, in order to prevent people from stealing it?
Is This A Good Question/Topic? 0
  • +

Replies To: Encrypting my code?

#2 Jingle  Icon User is offline

  • D.I.C Regular

Reputation: 9
  • View blog
  • Posts: 317
  • Joined: 20-October 07

Re: Encrypting my code?

Posted 17 May 2013 - 04:16 PM

View PostAmbitious, on 17 May 2013 - 03:50 PM, said:

Anyone know how to obfuscate my source code after I am done coding my program, in order to prevent people from stealing it?

there is more than one way to go about this depending on your problem.
first off why do you need to obfuscate your code?
you know that C++ is a compiled language which means that your program is not in code form anymore once compiled it is neigh impossible to come up with source code again from it.

if you do need to encrypt it for whatever reason you can look into the many file encryption tools on the web http://lifehacker.co...ncryption-tools

maybe you want code that can be compiled but is hard for others to understand?

I guess I answer with a question why do you want to?
Was This Post Helpful? 0
  • +
  • -

#3 Ambitious  Icon User is offline

  • D.I.C Head

Reputation: 5
  • View blog
  • Posts: 133
  • Joined: 08-May 13

Re: Encrypting my code?

Posted 17 May 2013 - 04:19 PM

Oh, I just thought that people could easily get the source code if I don't obfuscate it/
Thank you for your help.

This post has been edited by GunnerInc: 17 May 2013 - 04:27 PM
Reason for edit:: Quote be gone

Was This Post Helpful? 0
  • +
  • -

#4 Jingle  Icon User is offline

  • D.I.C Regular

Reputation: 9
  • View blog
  • Posts: 317
  • Joined: 20-October 07

Re: Encrypting my code?

Posted 17 May 2013 - 04:26 PM

that is a valid concern when using other languages though so its not a bad thing to look into for future situations.
who knows there maybe times when you want people to have access to your code but not really understand what it is doing. I'm just having a hard time thinking of it.

good luck :)
Was This Post Helpful? 0
  • +
  • -

#5 jjl  Icon User is offline

  • Engineer
  • member icon

Reputation: 1076
  • View blog
  • Posts: 4,536
  • Joined: 09-June 09

Re: Encrypting my code?

Posted 21 May 2013 - 12:57 AM

Quote

Oh, I just thought that people could easily get the source code if I don't obfuscate it/

People can only get your exact source code if well....you give it to them. Obfuscating your code just makes your code harder to reverse engineer onces they do have the source, or the binary.

However, anyone with enough time and motivation can recreate the logic of your program by disassembling your binary.

Quote

ou know that C++ is a compiled language which means that your program is not in code form anymore once compiled

Actually, all code (no matter the language) is compiled down to machine language. Even though it's just binary instructions, it's still considered a programming language and can be deciphered by anyone with enough time.

This post has been edited by jjl: 21 May 2013 - 12:59 AM

Was This Post Helpful? 2
  • +
  • -

#6 Jingle  Icon User is offline

  • D.I.C Regular

Reputation: 9
  • View blog
  • Posts: 317
  • Joined: 20-October 07

Re: Encrypting my code?

Posted 24 May 2013 - 04:39 PM

well said machine code is still code after all.

This post has been edited by Jingle: 24 May 2013 - 04:40 PM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1