setFactory static method
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);
}