RSA constructor

RSA({
  1. RSABits? bits,
  2. RSAHasher? hasher,
})

Implementation

factory RSA({
  RSABits? bits,
  RSAHasher? hasher,
}) {
  final result = create();
  if (bits != null) result.bits = bits;
  if (hasher != null) result.hasher = hasher;
  return result;
}