Added genhash