factoryConfig property

FactoryConfig factoryConfig
final

Intended for internal use.

Implementation

static final FactoryConfig factoryConfig = DynamicFactoryConfig.regex(
    SecureRandom,
    r'^(.*)/CTR/AUTO-SEED-PRNG$',
    (_, final Match match) => () {
          var blockCipherName = match.group(1);
          var blockCipher = BlockCipher(blockCipherName!);
          return AutoSeedBlockCtrRandom(blockCipher);
        });