ae680229ab68aee28b1be28569bfc5eb2cf46b7c,EncryptionTool.py,,readAndDecrypt,#Any#,37

Before Change


def readAndDecrypt(filename):
    file=open(filename,"r")
    data=file.read()
    datalist=list()
    datalistint=list()
    actualdata=list()
    datalist=data.split(" ")

After Change


        current1=int(decryptChar(datalistint[i]))
        current1=chr(current1)
        actualdata.append(current1)
    file.close()
    return actualdata

def readAndEncrypt(filename):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: geekcomputers/Python
Commit Name: ae680229ab68aee28b1be28569bfc5eb2cf46b7c
Time: 2018-04-10
Author: christianbender89@web.de
File Name: EncryptionTool.py
Class Name:
Method Name: readAndDecrypt


Project Name: tensorflow/cleverhans
Commit Name: a1331a0e993d0c4b64baae90b24b637ba36e7154
Time: 2016-11-22
Author: ngp5056@cse.psu.edu
File Name: tutorials/mnist_tutorial_jsma.py
Class Name:
Method Name: main


Project Name: estnltk/estnltk
Commit Name: cf5f38373ec0a08518dae7051e53e44c316c166c
Time: 2015-07-28
Author: karl.valliste@gmail.com
File Name: estnltk/prettyprinter/prettyprinter.py
Class Name: PrettyPrinter
Method Name: render