Crypto constructor

Crypto(
  1. dynamic secretKey,
  2. dynamic publicKey
)

Implementation

Crypto(secretKey, publicKey) {
  if (secretKey != null && publicKey != null) {
    _aes = AESAlgorithm(secretKey);
    _rsa = RSAAlgorithm(publicKey);
  }
}