mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-23 14:40:47 +01:00
fix another fastapi type
This commit is contained in:
parent
e4078910c4
commit
345cf86544
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class AESCipher(object):
|
||||||
final_key += key
|
final_key += key
|
||||||
return final_key[:output]
|
return final_key[:output]
|
||||||
|
|
||||||
def decrypt(self, encrypted) -> str:
|
def decrypt(self, encrypted: str) -> str: #type: ignore
|
||||||
"""Decrypts a string using AES-256-CBC."""
|
"""Decrypts a string using AES-256-CBC."""
|
||||||
passphrase = self.passphrase
|
passphrase = self.passphrase
|
||||||
encrypted = base64.b64decode(encrypted)
|
encrypted = base64.b64decode(encrypted)
|
||||||
|
|
Loading…
Add table
Reference in a new issue