RC2Parameters constructor

RC2Parameters(
  1. Uint8List key, {
  2. int? bits,
})

Implementation

RC2Parameters(Uint8List key, {int? bits}) : super(key) {
  if (bits != null) {
    effectiveKeyBits = bits;
  } else {
    effectiveKeyBits = (key.length > 128) ? 1024 : (key.length * 8);
  }
}