generate signature for signed requests