getFactory static method

SymmetricKeyFactory? getFactory(
  1. String algorithm
)

Get the symmetric key factory for the specified algorithm.

Returns null if no factory registered for algorithm.

Implementation

static SymmetricKeyFactory? getFactory(String algorithm) {
  final helper = sharedCryptoExtensions.symmetricHelper;
  return helper!.getSymmetricKeyFactory(algorithm);
}