MCPcopy Index your code
hub / github.com/geekcomputers/Python / readAndDecrypt

Function readAndDecrypt

EncryptionTool.py:48–61  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

46
47
48def readAndDecrypt(filename):
49 file = open(filename, "r")
50 data = file.read()
51 datalistint = []
52 actualdata = []
53 datalist = data.split(" ")
54 datalist.remove("")
55 datalistint = [float(data) for data in datalist]
56 for data in datalist:
57 current1 = int(decryptChar(data))
58 current1 = chr(current1)
59 actualdata.append(current1)
60 file.close()
61 return actualdata
62
63
64def readAndEncrypt(filename):

Callers 2

readAndDecryptAndSaveFunction · 0.85
EncryptionTool.pyFile · 0.85

Calls 4

decryptCharFunction · 0.85
removeMethod · 0.45
appendMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected