Both bleach and hydrogen peroxide are oxidizers, the peroxide is a little weaker depending on the bleach concentration.
For some sox, I just squeeze them out in a little water change water.
For some I soak in bleach, depends on how crudded up they get.
Some I just hose them down outside in the summer, but the heavy pressure may shorten lifespan.