factoryConfig property

FactoryConfig factoryConfig
final

Implementation

static final FactoryConfig factoryConfig = DynamicFactoryConfig.prefix(
    StreamCipher,
    'ChaCha7539/',
    (_, final Match match) => () {
          var rounds = int.parse(match.group(1)!);
          return ChaCha7539Engine.fromRounds(rounds);
        });