MCPcopy Create free account
hub / github.com/e2wugui/zeze / decryptRsaNoPadding

Method decryptRsaNoPadding

ZezeJava/ZezeJava/src/main/java/Zeze/Util/Cert.java:275–277  ·  view source on GitHub ↗
(PrivateKey privateKey, byte[] data)

Source from the content-addressed store, hash-verified

273
274 // 使用RSA私钥解密小块数据(不处理padding的原始数据)
275 public static byte[] decryptRsaNoPadding(PrivateKey privateKey, byte[] data) throws GeneralSecurityException {
276 return decryptRsaNoPadding(privateKey, data, 0, data.length);
277 }
278
279 // 使用RSA私钥解密小块数据(不处理padding的原始数据)
280 public static byte[] decryptRsaNoPadding(PrivateKey privateKey, byte[] data, int offset, int size)

Callers

nothing calls this directly

Calls 2

initMethod · 0.65
getInstanceMethod · 0.45

Tested by

no test coverage detected