public class SdbDecrypt extends Object
| 构造器和说明 |
|---|
SdbDecrypt() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
decryptPasswd(String encryptPasswd)
decrypt encrypted password
|
String |
decryptPasswd(String encryptPasswd,
String token)
decrypt encrypted password
|
SdbDecryptUserInfo |
parseCipherFile(String user,
File passwdFile)
parse cipher file, get the specify user's password.
|
SdbDecryptUserInfo |
parseCipherFile(String user,
String token,
File passwdFile)
parse cipher file, get the specify user's password.
|
public String decryptPasswd(String encryptPasswd)
encryptPasswd - the encrypted passwordBaseException - when parse failedpublic String decryptPasswd(String encryptPasswd, String token)
encryptPasswd - the encrypted passwordtoken - password encryption tokenBaseException - when parse failedpublic SdbDecryptUserInfo parseCipherFile(String user, File passwdFile)
user - the user's namepasswdFile - the password's fileBaseException - when parse failedpublic SdbDecryptUserInfo parseCipherFile(String user, String token, File passwdFile)
user - the user's nametoken - password encryption tokenpasswdFile - the password's fileBaseException - when parse failedCopyright © 2021. All rights reserved.