Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc1623a commit 89d8512Copy full SHA for 89d8512
1 file changed
extra/cloak/cloak.py
100644
100755
@@ -7,7 +7,6 @@
7
See the file 'doc/COPYING' for copying permission
8
"""
9
10
-import bz2
11
import os
12
import sys
13
@@ -25,13 +24,17 @@ def hideAscii(data):
25
24
return retVal
26
27
def cloak(inputFile):
+ import bz2
28
+
29
f = open(inputFile, 'rb')
30
data = bz2.compress(f.read())
31
f.close()
32
33
return hideAscii(data)
34
35
def decloak(inputFile):
36
37
38
39
try:
40
data = bz2.decompress(hideAscii(f.read()))
0 commit comments