Steve Gordon 2/5/2026

Encrypting Properties with System.Text.Json and a TypeInfoResolver Modifier (Part 2)

Read Original

This article is part two of a series on encrypting properties during JSON serialization with System.Text.Json. It details the implementation of an AesGcmDataEncryptor class, covering AES-GCM constants, key sizes, and the structure for encryption/decryption methods within a .NET application. The focus is on building a flexible encryption abstraction for development purposes.

Encrypting Properties with System.Text.Json and a TypeInfoResolver Modifier (Part 2)

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week