### Describe the bug AesGcm is not thread safe, so it is dangerous to share in the codec. See https://github.com/dotnet/runtime/discussions/71198 and other places.