Adding setter method for hasher.

Signed-off-by: Ben Corlett <bencorlett@me.com>