2020
10-20
10-20
Java sm3加密算法的实现
1.准备工作所需jar包:bcprov-jdk15on-1.59.jarcommons-lang3-3.1.jar对应的maven依赖<!--sm3,sm4加密算法--><dependency><groupId>org.bouncycastle</groupId><artifactId>bcprov-jdk15on</artifactId><version>1.66</version></dependency>importorg.bouncycastle.crypto.digests.SM3Digest;importorg.bouncycastle.crypto.macs.HMac;importorg.bouncycastle.crypto.params.KeyParameter;importorg.boun...
继续阅读 >