Validate encrypted password format

I encrypt the password in the browser and send it to the backend, how should I validate the passoword format (length, being alphanumeric, having at least one capital letter, etc.) on the backend?

I know I can validate it on the front-end, and I’m already doing it. I’m curious about the backend.