zkay.transaction.crypto.rsa_oaep

Module Contents

class zkay.transaction.crypto.rsa_oaep.RSAOAEPCrypto(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]]