Added client side sha code.