• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






筱筱飞飞

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2018年6月26日

Spring知识点
摘要: IOC(控制反转):即创建调用者的实例不再由调用者完成,而是由spring容器完成,并注入给调用者。举例 A B 两个类 A类里面要用到B的对象 以前的做法都是直接new出来的 ,使用spring后直接由spring中依赖注入。 IOC实现方式有两种 DL(依赖查找) DI(依赖注入) AOP(面向 阅读全文
posted @ 2018-06-26 19:23 筱筱飞飞 阅读(121) 评论(0) 推荐(0)
 
SHA加密过程
摘要: 1 package com.pff.pff; 2 3 import java.security.MessageDigest; 4 import org.apache.commons.codec.binary.Hex; 5 6 public class Sha { 7 8 private static String test = "pff"; 9 10 p... 阅读全文
posted @ 2018-06-26 15:21 筱筱飞飞 阅读(193) 评论(0) 推荐(0)
 
AES加解密过程
摘要: 1 package com.pff.pff; 2 3 import java.security.SecureRandom; 4 5 import javax.crypto.Cipher; 6 import javax.crypto.KeyGenerator; 7 import javax.crypto.SecretKey; 8 import javax.crypto.spec... 阅读全文
posted @ 2018-06-26 15:10 筱筱飞飞 阅读(307) 评论(0) 推荐(0)
 
3DES加解密过程
摘要: 1 package com.pff.pff; 2 3 import java.security.SecureRandom; 4 5 import javax.crypto.Cipher; 6 import javax.crypto.KeyGenerator; 7 import javax.crypto.SecretKey; 8 import javax.crypto.Secr... 阅读全文
posted @ 2018-06-26 14:50 筱筱飞飞 阅读(281) 评论(0) 推荐(0)
 
RSA加解密过程
摘要: 1 package com.pff.pff; 2 3 import java.security.KeyFactory; 4 import java.security.KeyPair; 5 import java.security.KeyPairGenerator; 6 import java.security.PrivateKey; 7 import java.security.... 阅读全文
posted @ 2018-06-26 14:48 筱筱飞飞 阅读(586) 评论(0) 推荐(0)
 
DES加解密过程
摘要: 1 package com.pff.pff; 2 3 import java.security.SecureRandom; 4 5 import javax.crypto.Cipher; 6 import javax.crypto.KeyGenerator; 7 import javax.crypto.SecretKey; 8 import javax.crypto.Secr... 阅读全文
posted @ 2018-06-26 14:46 筱筱飞飞 阅读(589) 评论(0) 推荐(0)