doing signature hash