This commit is contained in:
Looly
2024-08-14 18:01:34 +08:00
parent 143af4258d
commit 776a8cbba5
4 changed files with 29 additions and 23 deletions

View File

@@ -134,6 +134,7 @@ public class RSATest {
public void rsaWithBlockTest2() {
final RSA rsa = new RSA();
rsa.setEncryptBlockSize(3);
//rsa.setDecryptBlockSize(3);
// 获取私钥和公钥
assertNotNull(rsa.getPrivateKey());