Dominosec: Use prefab binary hash functions.
EPI format: Add proper hash functions. Closes 495.