public SymmetricService(IKeyGenerator keyGenerator, IVectorGenerator vectorGenerator) : base(keyGenerator.CastTo <IKeyGenerator, AbstractExtensionBuilderService <EncryptionBuilderOptions> >(nameof(keyGenerator))) { KeyGenerator = keyGenerator; VectorGenerator = vectorGenerator; }
public KeyedHashService(IKeyGenerator keyGenerator) : base(keyGenerator.CastTo <IKeyGenerator, AbstractExtensionBuilderService <EncryptionBuilderOptions> >(nameof(keyGenerator))) { KeyGenerator = keyGenerator; }