examples/pipeline: support hash functions