Cleanup Security::hash().

Will this cause BC issues?
I don't know. I think it was just left overs from 1.x.