factoryConfig property

FactoryConfig factoryConfig
final

Intended for internal use.

Implementation

static final FactoryConfig factoryConfig = DynamicFactoryConfig.regex(
    PaddedBlockCipher,
    r'^(.+)/([^/]+)$',
    (_, final Match match) => () {
          var padding = Padding(match.group(2)!);
          var underlyingCipher = BlockCipher(match.group(1)!);
          return PaddedBlockCipherImpl(padding, underlyingCipher);
        });