setFactory static method

void setFactory(
  1. String algorithm,
  2. SymmetricKeyFactory factory
)

Set the symmetric key factory for the specified algorithm.

Implementation

static void setFactory(String algorithm, SymmetricKeyFactory factory) {
  final helper = sharedCryptoExtensions.symmetricHelper;
  helper!.setSymmetricKeyFactory(algorithm, factory);
}