(password string, rsaPrivateKey string)
| 148 | } |
| 149 | |
| 150 | func DecryptPasswordSupportNoRsaKey(password string, rsaPrivateKey string) (realPwd string, err error) { |
| 151 | if "" == rsaPrivateKey { |
| 152 | return password, nil |
| 153 | } |
| 154 | return DecryptPassword(password, rsaPrivateKey) |
| 155 | } |
| 156 | |
| 157 | func DecryptPassword(password string, rsaPrivateKey string) (realPwd string, err error) { |
| 158 | if "" == rsaPrivateKey { |
no test coverage detected