implemented HashService