diff --git a/nucypher-core-python/nucypher_core/__init__.pyi b/nucypher-core-python/nucypher_core/__init__.pyi index c9f6968..eb41e92 100644 --- a/nucypher-core-python/nucypher_core/__init__.pyi +++ b/nucypher-core-python/nucypher_core/__init__.pyi @@ -488,7 +488,7 @@ class ThresholdMessageKit: ciphertext_header: CiphertextHeader - def decrypt_with_shared_secret(self, shared_secret: SharedSecret): + def decrypt_with_shared_secret(self, shared_secret: SharedSecret) -> bytes: ... @staticmethod diff --git a/nucypher-core-python/nucypher_core/ferveo.pyi b/nucypher-core-python/nucypher_core/ferveo.pyi index ff17fd1..77c1746 100644 --- a/nucypher-core-python/nucypher_core/ferveo.pyi +++ b/nucypher-core-python/nucypher_core/ferveo.pyi @@ -224,7 +224,7 @@ def encrypt(message: bytes, aad: bytes, dkg_public_key: DkgPublicKey) -> Ciphert def combine_decryption_shares_simple( decryption_shares: Sequence[DecryptionShareSimple], -) -> bytes: +) -> SharedSecret: ...