Most if not all symmetric encryption is quantum resistant though (with a large enough key). Quantum computing only causes problems for asymmetric algorithms that involve factorisation iirc
The key words here are "brute force" -- there might be some [possibly quantum] techniques around it, but probabilities around guessing and checking an arbitrary number remain constant.
https://doc.libsodium.org/secret-key_cryptography/secretstre...
https://crypto.stackexchange.com/questions/79518/is-xchacha2...