remove class decorator
This commit is contained in:
parent
0313757946
commit
1bd29d707c
@ -35,7 +35,6 @@ def generate_paillier_keypair(
|
|||||||
return public_key, private_key # 返回公钥和私钥
|
return public_key, private_key # 返回公钥和私钥
|
||||||
|
|
||||||
|
|
||||||
@show_name_args
|
|
||||||
class PaillierPublicKey(object): # 定义公钥类
|
class PaillierPublicKey(object): # 定义公钥类
|
||||||
def __init__(self, n):
|
def __init__(self, n):
|
||||||
self.g = n + 1
|
self.g = n + 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user