Open make-github-pseudonymous-again opened 4 years ago
The exponent for Montgomery#pow should only take binary representation of exponent as input. Consumers of the library are supposed to provide their own binary conversion.
Montgomery#pow
Also assume exponent is nonnegative. Consumer can apply Montgomery#inv themselves.
Montgomery#inv
The exponent for
Montgomery#pow
should only take binary representation of exponent as input. Consumers of the library are supposed to provide their own binary conversion.