should be `err := fmt.Errorf("Error in calculating hash")`