MCPcopy Index your code
hub / github.com/SeanDragon/protools / between

Method between

security/src/main/java/pro/tools/security/sm/SM2.java:339–345  ·  view source on GitHub ↗

判断是否在范围内 @param param @param min @param max @return

(BigInteger param, BigInteger min, BigInteger max)

Source from the content-addressed store, hash-verified

337 * @return
338 */
339 private boolean between(BigInteger param, BigInteger min, BigInteger max) {
340 if (param.compareTo(min) >= 0 && param.compareTo(max) < 0) {
341 return true;
342 } else {
343 return false;
344 }
345 }
346
347 /**
348 * 判断生成的公钥是否合法

Callers 3

checkPublicKeyMethod · 0.95
verifyMethod · 0.95
ofDateTimeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected