@Service(value="sm2") public class CoreSm2DesServiceImpl extends java.lang.Object implements CorePswDesService
| 限定符和类型 | 字段和说明 |
|---|---|
java.lang.String |
sm2_privatekey |
java.lang.String |
sm2_publickey |
| 构造器和说明 |
|---|
CoreSm2DesServiceImpl() |
@Value(value="${security.sm2.privatekey}")
public java.lang.String sm2_privatekey
@Value(value="${security.sm2.publickey}")
public java.lang.String sm2_publickey
public java.lang.String decode(java.lang.String psw)
throws java.lang.Exception
CorePswDesServicedecode 在接口中 CorePswDesServicepsw - 密码的密文java.lang.Exception - 出错会抛出异常public java.lang.String encode(java.lang.String psw)
throws java.lang.Exception
CorePswDesServiceencode 在接口中 CorePswDesServicepsw - 密码明文java.lang.Exception - 出错会抛出异常