Move hash module from collections to core
Merge pull request #19800 from sfackler/core-hash

Move hash module from collections to core

Reviewed-by: alexcrichton