|
def generate_kfrags(delegating_privkey: UmbralPrivateKey, |
|
receiving_pubkey: UmbralPublicKey, |
|
threshold: int, |
|
N: int, |
|
signer: Signer, |
|
sign_delegating_key: Optional[bool] = True, |
|
sign_receiving_key: Optional[bool] = True, |
|
) -> List[KFrag]: |
|
""" |
|
Creates a re-encryption key from Alice's delegating public key to Bob's |
|
receiving public key, and splits it in KFrags, using Shamir's Secret Sharing. |
|
Requires a threshold number of KFrags out of N. |
|
|
|
Returns a list of N KFrags |
|
""" |
The documentation says "Creates a re-encryption key from Alice's delegating public key...",
shouldn't it be "Creates a re-encryption key from Alice's delegating private key..."?
pyUmbral/umbral/pre.py
Lines 216 to 230 in 2ef43a6
The documentation says "Creates a re-encryption key from Alice's delegating public key...",
shouldn't it be "Creates a re-encryption key from Alice's delegating private key..."?