Is your feature request related to a problem or challenge?
In the recent PR to add modular encryption (#16351) it was suggested that a feature should be added to make encryption optional. This is a good feature to have since it can help minimize crate dependencies and code bloat.
Describe the solution you'd like
See followup PR to address this.
Describe alternatives you've considered
No response
Additional context
No response