[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Encryption source code with md5

Encryption source code with md5

catalinfest@gmail.com

3/28/2010 6:59:00 AM

Dear friends .

I have two simple questions:
It is possible to encrypt with md5 python source code?
What option do I have to protect my python source code?

Thank you .

Lawrence D'Oliveiro

3/28/2010 10:08:00 AM

In message <91541c26-6f18-40c7-
a0df-252a52bb7cd5@l25g2000yqd.googlegroups.com>, catalinfest@gmail.com
wrote:

> It is possible to encrypt with md5 python source code?

Donâ??t use MD5.

> What option do I have to protect my python source code?

Copyright.

Irmen de Jong

3/28/2010 11:17:00 AM

On 28-3-2010 12:08, Lawrence D'Oliveiro wrote:
> In message<91541c26-6f18-40c7-
> a0df-252a52bb7cd5@l25g2000yqd.googlegroups.com>, catalinfest@gmail.com
> wrote:
>
>> It is possible to encrypt with md5 python source code?
>
> Donâ??t use MD5.

Also, md5 is not an encryption algorithm at all, it is a secure hashing function.
(well, not so secure anymore nowadays, which probably is why Lawrence already wrote to
avoid using it).

irmen

catalinfest@gmail.com

3/28/2010 1:01:00 PM

I had a talk about Python and distribution of commercial products
created with python. This made me think of a way to protect my source
code to be distributed. I thought a live CD version and then to an
encryption method of a portion of source code. These thoughts are the
source of two questions.

Steve Holden

3/28/2010 2:08:00 PM

catalinfest@gmail.com wrote:
> I had a talk about Python and distribution of commercial products
> created with python. This made me think of a way to protect my source
> code to be distributed. I thought a live CD version and then to an
> encryption method of a portion of source code. These thoughts are the
> source of two questions.

I'd suggest that you don't think about encrypting your source code until
you have a rather better handle on encryption technology. Your mention
of MD5, a hashing rather than an encryption algorithm, makes it clear
that you aren't familiar with the technologies at present.

There's nothing wrong with ignorance (I have a more than adequate supply
of my own), but in encryption it's *very* easy to make mistakes that
render whole systems vulnerable to trivial attack. So you do really need
to know what you are doing.

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
See PyCon Talks from Atlanta 2010 http://pyco...
Holden Web LLC http://www.hold...
UPCOMING EVENTS: http://holdenweb.event...

Harishankar

3/28/2010 2:39:00 PM

On Sun, 28 Mar 2010 10:08:20 -0400, Steve Holden wrote:

> catalinfest@gmail.com wrote:
>> I had a talk about Python and distribution of commercial products
>> created with python. This made me think of a way to protect my source
>> code to be distributed. I thought a live CD version and then to an
>> encryption method of a portion of source code. These thoughts are the
>> source of two questions.
>
> I'd suggest that you don't think about encrypting your source code until
> you have a rather better handle on encryption technology. Your mention
> of MD5, a hashing rather than an encryption algorithm, makes it clear
> that you aren't familiar with the technologies at present.
>
> There's nothing wrong with ignorance (I have a more than adequate supply
> of my own), but in encryption it's *very* easy to make mistakes that
> render whole systems vulnerable to trivial attack. So you do really need
> to know what you are doing.
>
> regards
> Steve

This article offers some good ideas and also sums up some good points
*against* code obfuscation.

http://stackoverflow.com/questions/261638/how-do-i-protect-p...

Read it and judge whether the benefits of not obfuscating code outweighs
the advantages of obfuscating it.





--
Harishankar (http://haris... http://literary...)

Steven D'Aprano

3/28/2010 2:58:00 PM

On Sun, 28 Mar 2010 10:08:20 -0400, Steve Holden wrote:

> catalinfest@gmail.com wrote:
>> I had a talk about Python and distribution of commercial products
>> created with python. This made me think of a way to protect my source
>> code to be distributed. I thought a live CD version and then to an
>> encryption method of a portion of source code. These thoughts are the
>> source of two questions.
>
> I'd suggest that you don't think about encrypting your source code until
> you have a rather better handle on encryption technology. Your mention
> of MD5, a hashing rather than an encryption algorithm, makes it clear
> that you aren't familiar with the technologies at present.

Furthermore, you should forget about encrypting your program until you
are sure that it is something that needs encrypting. In my experience,
most times newbies start waffling on about encrypting their precious code
(usually displaying total confusion about encryption technology), it
turns out their critical application is something like Notepad only with
fewer features.

Not that I'm jaded at all.



--
Steven

Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Encryption source code with md5

Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te

Il servizio è completamente GRATUITO!