| 程序包 | 说明 |
|---|---|
| bee.tool.string |
| 限定符和类型 | 字段和说明 |
|---|---|
RSA.PriKey |
RSA.Key.privateKey
私钥
|
| 限定符和类型 | 方法和说明 |
|---|---|
static RSA.PriKey |
RSA.fromPriKey(java.lang.String priKey) |
| 限定符和类型 | 方法和说明 |
|---|---|
static java.lang.String |
RSA.decrypt(RSA.PriKey key,
java.lang.String data)
私钥解密,只能解密对应公钥加密的字符串
|
static java.lang.String |
RSA.encode(RSA.PriKey key,
java.lang.String data)
私钥加密,加密结果需要对应的公钥解密
|