提交 e9bc5238 编写于 作者: 夏天飘过的风's avatar 夏天飘过的风

增加druid密码加密的工具类

上级 54318494
package com.roncoo.education.boss.test;
import com.alibaba.druid.filter.config.ConfigTools;
/**
* druid 加密
*
* @author wujing
*/
public class DruidUtil {
public static void main(String[] args) throws Exception {
String password = "123456";
System.out.println(ConfigTools.encrypt(password));
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册