By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,081 Members | 1,885 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,081 IT Pros & Developers. It's quick & easy.

How to execute a byte array of an application with python?

P: 1
I am creating a python application to encrypt / decrypt the executable code of a file, at the decrypted time that at the time of deciphering I do not know how to send this code without saving it in a file before, that is, I need to perform the step directly to give the system the executable code to start using it and lift the application.
May 30 '19 #1
Share this Question
Share on Google+
3 Replies


zmbd
Expert Mod 5K+
P: 5,397
Welcome to Bytes Ysordo

- What have you tried so far?

- Have you taken a look at the public source python encryption libraries?

It might help if you read thru the FAQ section on how to post a question. It might also help if you think of Bytes.com as more of a teaching site rather than a code depository.
May 31 '19 #2

Expert 100+
P: 621
Python creates "executable" code from a file, when you run it for the first time
May 31 '19 #3

Rabbit
Expert Mod 10K+
P: 12,366
I don't understand the purpose of this. Are you trying to "protect your code?"

There's really no point in trying to do this. If you encrypt the code, then there has to be open code that decrypts it. Anyone that wants access to that encrypted code just has to make a small change to the decryption code.
Jun 3 '19 #4

Post your reply

Sign in to post your reply or Sign up for a free account.