Fix decryption bug
This commit is contained in:
parent
4400455769
commit
e0c9dfd2ad
|
@ -88,7 +88,7 @@ class common:
|
|||
return False
|
||||
|
||||
try:
|
||||
ciphertext = base58.b58decode(ciphertext)
|
||||
ciphertext = base58.b58decode(ciphertext[1:])
|
||||
key = SHA256.new(self.secret.encode()).digest()
|
||||
iv = ciphertext[:4]
|
||||
ct = ciphertext[4:]
|
||||
|
|
Loading…
Reference in New Issue
Block a user