代码如下importjava.security.MessageDigest;importjava.security.NoSuchAlgorithmException;publicclassMain{publicstaticvoidmain(String[]args){MainMain=newMain();System.out.println(Main.encryption("xiaowen123"));}/****@paramplainText*明文*@return32位密文*/public..
分类:
编程语言 时间:
2014-11-20 01:41:11
阅读次数:
184
代码如下
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public class Main {
public static void main(String[] args) {
Main Main = new Main();
System.out.println(...
分类:
编程语言 时间:
2014-11-19 20:36:17
阅读次数:
251
demo 实现了数据库表控制权限,登陆自定义md5,菜单的控制 可下载demo修改数据库配置,执行sql即可运行
代码地址:
https://github.com/haedrig/spring-security...
分类:
编程语言 时间:
2014-11-19 18:37:34
阅读次数:
237
原文加密基础方法类 1 import java.security.MessageDigest; 2 import sun.misc.BASE64Decoder; 3 import sun.misc.BASE64Encoder; 4 public class SecurityBase { 5 ...
分类:
编程语言 时间:
2014-11-19 17:48:41
阅读次数:
276
到前文为止,Spring+Springmvc+Hibernate的基本框架都已经搭建出来了,现在,在这基础上再加上身份验证和权限控制,也就是Spring Security框架。
分类:
编程语言 时间:
2014-11-19 13:57:44
阅读次数:
299
最近准备自学MySQL,于是对照网上的教程自己安装了一遍,结果由于某种原因准备卸载准备重新安装,但安装到最后一步提示“APPLY security settings错误”,四处寻找解决方案,始终无法解决。有人说关闭防火墙,用MySQL自带的卸载包卸载,手动清除所有关于MySQL的所有文件,用杀毒软件清空注册表,但始终提示那个错误,甚至有时还没到那一步就提示错误,一时半会不知道怎么解决,但坚信网络的力量,最终成功解决了。鉴于网上的其他资料太杂,在此汇总一下,希望能帮助到那些同样困惑的朋友!...
分类:
移动开发 时间:
2014-11-19 12:39:53
阅读次数:
272
How to manually remove an infected file from your computer
In order to manually remove an infected item from your computer you need to perform the following steps:
1. Restart the computer in Safe...
分类:
其他好文 时间:
2014-11-19 11:15:22
阅读次数:
162
How to manually remove an infected file from your computer
In order to manually remove an infected item from your computer you need to perform the following steps:
1. Restart the computer in Safe...
分类:
其他好文 时间:
2014-11-19 01:12:38
阅读次数:
246
用outlook2003收发邮件时,当打开或另存附件时提示“无法创建和保存文件”解决开始-运行,输入“regedit”打开注册表,打开以下键值“HKEY_CURRENT_USER\software\microsoft\office\11.0\outlook\security\outlooksecur...
分类:
其他好文 时间:
2014-11-18 23:09:01
阅读次数:
180
WEB安全概论 ——IPsec传输模式下ESP报文的装包与拆包过程一、IPsec (一)简介 互联网安全协定(英语:Internet Protocol Security,缩写为 IPsec),是透过对IP协议(互联网协议)的分组进行加密和认...
分类:
Web程序 时间:
2014-11-17 22:30:07
阅读次数:
668