Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
File encryption
#1
hi,
how can i unencrypted python file?
i have this lines:

def index ():#line:239
    OOO0O00OOOOO0O000 =int (errorChecking (count =True ))#line:240
    OO0000OOOO000000O =str (OOO0O00OOOOO0O000 )#line:241
thanks
Reply
#2
good lord. we need crystal ball to understand this. :D
Reply
#3
The code doesn't appear to be encrypted. The developer chose the unusual (but valid) variable name OO0000OOOO000000O. Don't do the same in your own code! You could replace this name with spam for example.
Reply
#4
I guess the code is in6tentionally obfuscated
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#5
(Nov-05-2019, 05:38 AM)Gribouillis Wrote: The code doesn't appear to be encrypted. The developer chose the unusual (but valid) variable name OO0000OOOO000000O. Don't do the same in your own code! You could replace this name with spam for example.

thanks alot.
is there any way to convert it back to "English"?
Reply
#6
itzik Wrote:is there any way to convert it back to "English"?
If you mean by that retrieve a meaningful explanatory name that tells us which kind of data this variable is supposed to contain, then no, there is no way to do that. The best you can do is rename the variable to a word that you can pronounce without effort. For the rest, you need to analyse what the code does with data, which can be much harder.

Note that index and errorChecking could be misleading words that should perhaps be replaced by credit_card_number and user_account but there is no way to tell.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question Help with function - encryption - messages - NameError: name 'message' is not defined MrKnd94 4 2,774 Nov-11-2022, 09:03 PM
Last Post: deanhystad
  need help one time pad encryption implementation ! nad556 1 1,912 Nov-28-2020, 06:11 PM
Last Post: nad556
  encryption and decryption with python ibrahim 1 1,769 May-16-2020, 03:14 PM
Last Post: Larz60+
  Vernam encryption method for files JohnCTX 1 2,385 Sep-18-2019, 04:31 PM
Last Post: JohnCTX
  Regarding encryption and decryption naressh1994 1 2,389 Jan-25-2019, 07:26 AM
Last Post: buran
  AES encryption - does not match between arduino and python 3 crypto guillaume55 0 3,992 Sep-23-2018, 11:14 AM
Last Post: guillaume55
  Python function that uses a word as the encryption key, rather than an integer wak_stephanie 4 4,762 Aug-31-2018, 12:16 PM
Last Post: perfringo
  lab experiment / encryption pythan 0 2,436 Jun-09-2018, 07:19 PM
Last Post: pythan
  Errors in my encryption algorithm SlimeBOOS 1 2,550 Dec-16-2017, 06:23 PM
Last Post: SlimeBOOS
  Attempting to port XTea Encryption from C to Python sonic1015 1 3,270 Jun-06-2017, 07:12 PM
Last Post: sonic1015

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020