Fix decryption bug
This commit is contained in:
@@ -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:]
|
||||
|
Reference in New Issue
Block a user