public override async Task <byte[]> DecryptAsync(byte[] content) { if (!this.HasKey) { throw new InvalidOperationException(); } var buffer = await CryptographicEngine.DecryptAsync(this.Key, content.ToCryptographicBuffer(), null); return(buffer.CryptographicBufferToByteArray()); }