Threshold Signature Scheme Based on Factoring and Discrete Logarithms Problem