Commit fb4bf229 by sikang

update

parent 3fea4bbe
......@@ -69,7 +69,8 @@ class Garble:
for i in range(0,random.randint(2,15)):
number += str(random.randint(0,9))
randStr = str(number) + "#-#"
line = str_name + randStr + base64.b64encode(randStr + str_value) + "</string>\n"
grable_str = str(base64.b64encode((randStr + str_value).encode("utf-8")), "utf-8")
line = str_name + randStr + grable_str + "</string>\n"
f_w.write(line)
# print("done\n")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment