exposing getHash to app