public interface IPasswordProcessor
| Modifier and Type | Method and Description |
|---|---|
String |
decrypt(String target)
字符串解密
|
String |
encrypt(String source)
字符串加密
|
String |
getPassKey()
获取加/解密密钥
|
void |
setPassKey(String passKey)
设置加/解密密钥, 若为未提供则采用默认
|
void setPassKey(String passKey)
passKey - 加/解密KEYString getPassKey()
String encrypt(String source) throws Exception
source - 源字符串Exception - 可能产生的异常Copyright © 2022. All rights reserved.