Upgrade 22.2.7 --> 24.0.4 transparent for encryption?

How do the different encryption schemes described on Encryption details — Nextcloud latest Administration Manual latest documentation affect the upgrade from 22.2.7 to 24.0.4? Are there special considerations necessary to handle encrypted files on external storage?