public SensitiveDataService(ApplicationDbContext context, IEncryptionKeyProvider provider)
 {
     _context = context;
     _key     = Convert.FromBase64String(provider.GetKey());
 }
 public RijndaelEncryptionProviderWithCompressionV1(IEncryptionKeyProvider encryptionKeyProvider)
     : base(encryptionKeyProvider)
 {
 }
 public NodeMapping(IEncryptionKeyProvider encryptionKeyProvider, INodeUriProvider nodeUriProvider)
 {
     _encryptionKeyProvider = encryptionKeyProvider ?? throw new ArgumentNullException(nameof(encryptionKeyProvider));
     _urlBytes = Encoding.GetBytes(nodeUriProvider.GetCurrentNodeUri().ToString());
 }