Removed err msg. Use suitable modulus for large secrets