Skip to contents

A matched pair of public and private keys. Use paillier_keypair() to generate one.

Usage

PaillierKeyPair(pubkey = PaillierPublicKey(), privkey = PaillierPrivateKey())

Arguments

pubkey

a PaillierPublicKey.

privkey

a PaillierPrivateKey.

Value

an S7 object of class PaillierKeyPair with properties pubkey (a PaillierPublicKey) and privkey (a PaillierPrivateKey) — the two halves of one generated key. Returned by paillier_keypair().