remove class decorator

This commit is contained in:
sangge-redmi 2024-04-15 16:51:33 +08:00
parent 0313757946
commit 1bd29d707c

View File

@ -35,7 +35,6 @@ def generate_paillier_keypair(
return public_key, private_key # 返回公钥和私钥
@show_name_args
class PaillierPublicKey(object): # 定义公钥类
def __init__(self, n):
self.g = n + 1