Calculating request signatures