Part of DKNet.EfCore.Encryption. IColumnEncryptionProvider defines Encrypt(string?) and Decrypt(string?). For an explicit converter, replace the Quick Start UseColumnEncryption call with:
var key = keys.GetKey(typeof(Customer));
DKNet.EfCore.Encryption.Interfaces.IColumnEncryptionProvider algorithm =
new AesGcmColumnEncryptionProvider(key);
modelBuilder.Entity<Customer>().Property(c => c.Secret).HasConversion(
new DKNet.EfCore.Encryption.Converters.ColumnEncryptionConverter(algorithm));
Implement that interface to substitute another algorithm in the explicit HasConversion path. The example uses the bundled AES-GCM provider to show the same wiring without inventing an algorithm.
Automatic [Encrypted] scanning hardcodes AesGcmColumnEncryptionProvider; registering another algorithm in DI does not replace it.