Python Forum

Full Version: File encryption
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
good lord. we need crystal ball to understand this. :D
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.
I guess the code is in6tentionally obfuscated
(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"?
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.