pub fn is_encryption_enabled() -> boolExpand description
Check if encryption is enabled in the database.
Delegates to state::resolve_encryption_enabled_from_db — the single
source of truth that handles the missing-row case consistently. The
previous implementation defaulted to false on missing rows, which
silently disagreed with init_encryption_enabled (defaulted to true)
and silently mis-routed login flows after an account swap.