java之md5加密

版权声明:所有博客本人原创,转载注明出处即可 https://blog.csdn.net/qq_42813491/article/details/88363996

java之md5加密

md5 jar包

链接:https://pan.baidu.com/s/19FLQWjiKmcx2wUEPTI9S_Q 提取码:naqn

使用

  • 导入jar包

在这里插入图片描述

  • 使用测试
package test_md5;
import lengyuexin_md5.MD5;

public class Test {
	public static void main(String[] args) {
		String str = "冷月心";
		System.out.println(MD5.md5(str));
	}
}

效果图

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_42813491/article/details/88363996
今日推荐