zkay.transaction.crypto.rsa_pkcs15

Module Contents

class zkay.transaction.crypto.rsa_pkcs15.RSAPKCS15Crypto(keystore: ZkayKeystoreInterface)

Bases: zkay.transaction.crypto.rsa_base.RSACrypto

API to generate cryptographic keys and perform encryption/decryption operations.

params
_enc(self, plain: int, _: int, target_pk: int) Tuple[List[int], List[int]]
_dec(self, cipher: Tuple[int, Ellipsis], sk: Crypto.PublicKey.RSA.RsaKey) Tuple[int, List[int]]