I recall that that was what was suggested for Java's HashMap too, but they found it to be insufficient. By careful analysis, an attacker could still figure out how to cause hash collisions.
If you haven't seen it before you will appreciate https://accidentallyquadratic.tumblr.com/post/153545455987/r...