Contents

在加解密类中引入

1
2
3
static {
Security.addProvider(new BouncyCastleProvider());
}
1
2
3
4
5
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15</artifactId>
<version>1.45</version>
</dependency>
Contents