| 程序包 | 说明 |
|---|---|
| com.webapp.utils.codec |
| 限定符和类型 | 方法和说明 |
|---|---|
static CodecUtils.AlgoBuilder.AlgoAsymBuild |
CodecUtils.AlgoBuilder.build(CodecUtils.AlgoAsymEnum.AlgoAsym algoAsym)
非对称加密
algorithm
|
static CodecUtils.AlgoBuilder.AlgoAsymBuild |
CodecUtils.AlgoBuilder.build(CodecUtils.AlgoAsymEnum.AlgoAsym algoAsym,
CodecUtils.AlgoAsymEnum.AlgoAsymMode mode,
CodecUtils.AlgoAsymEnum.AlgoAsymPadding padding)
非对称加密
algorithm/mode/padding
|
static CodecUtils.AlgoBuilder.AlgoAsymBuild |
CodecUtils.AlgoBuilder.build(CodecUtils.AlgoAsymEnum.AlgoAsym algoAsym,
CodecUtils.AlgoAsymEnum.AlgoAsymPadding padding,
String iv)
非对称加密
algorithm/CBC/padding
|
| 限定符和类型 | 方法和说明 |
|---|---|
CodecUtils.Decrypt |
CodecUtils.Decrypt.decrypt(CodecUtils.AlgoBuilder.AlgoAsymBuild algoAsym,
byte[] key) |
CodecUtils.Decrypt |
CodecUtils.Decrypt.decrypt(CodecUtils.AlgoBuilder.AlgoAsymBuild algoAsym,
String base64Key) |
CodecUtils.Encrypt |
CodecUtils.Encrypt.encrypt(CodecUtils.AlgoBuilder.AlgoAsymBuild algoAsym,
byte[] key) |
CodecUtils.Encrypt |
CodecUtils.Encrypt.encrypt(CodecUtils.AlgoBuilder.AlgoAsymBuild algoAsym,
String base64Key) |
Copyright © 2016. All rights reserved.