Blocking spaces shrinks the size of the keyspace in this case.

Another issue is using MD5 + salt rather than an actual password-based key derivation function like PBKDF2, BCrypt, or scrypt.