Always return the secret in the same length as the modulus. Reviewed-by: wetmore
Reviewed-by: darcy, weijun