Export intermediate hash contexts

also don't double-export 'hash'