Skip to content

Commit ac5d682

Browse files
authored
Add files via upload
1 parent fa33df7 commit ac5d682

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tscipherlib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ def cdecodeh(stringin,key):
6262
"f" : 15}
6363

6464
array = []
65-
for c in range(math.floor(len(stredit/2))):
65+
for c in range(math.floor(len(stredit)/2)):
6666
ptr = c*2
67-
array.append((hexdigits[ptr]*16)+hexdigits[ptr+1])
67+
array.append((hexdigits[stredit[ptr]]*16)+hexdigits[stredit[ptr+1]])
6868

6969

7070
output = ""

0 commit comments

Comments
 (0)