fix
This commit is contained in:
parent
f51e9a370a
commit
b1a1736116
|
@ -144,7 +144,7 @@ def ASecretToSecret(key):
|
|||
|
||||
|
||||
def int_to_hex(i, length=1):
|
||||
s = hex(i)[2:]
|
||||
s = hex(i)[2:].rstrip('L')
|
||||
s = "0"*(2*length - len(s)) + s
|
||||
return s.decode('hex')[::-1].encode('hex')
|
||||
|
||||
|
|
Loading…
Reference in New Issue