RSACipher constructor
RSACipher(
- InputRSACipher input
Constructs an RSACipher with the given input parameters.
Implementation
RSACipher(InputRSACipher input) : super(input.parent) {
final keys = RSAKeyUtils.parseKeyPair(
publicKey: input.parent.publicKey,
privateKey: input.parent.privateKey,
);
_pubKey = keys.publicKey;
_privKey = keys.privateKey;
}