Base64的加密解密
来源:互联网 发布:java聊天室的代码 编辑:程序博客网 时间:2024/05/21 09:33
//BASE64可逆算法-加密
//pwd.getBytes()字符串转字节数组
//byte[] bytes=Base64.encodeBase64(pwd.getBytes());
//字节数组转字符串
//System.out.println(new String(bytes));
//解密
//String pwd2="MTIzNDU2";
//byte[] bytes2=Base64.decodeBase64(pwd2.getBytes());
//System.out.println(new String(bytes2));
//pwd.getBytes()字符串转字节数组
//byte[] bytes=Base64.encodeBase64(pwd.getBytes());
//字节数组转字符串
//System.out.println(new String(bytes));
//解密
//String pwd2="MTIzNDU2";
//byte[] bytes2=Base64.decodeBase64(pwd2.getBytes());
//System.out.println(new String(bytes2));
0 0
- base64的加密解密
- Base64的加密解密
- BASE64 的加密与解密
- Base64的加密与解密
- Base64的加密与解密
- 简单的base64加密解密
- AES加密解密|及Base64的使用
- java关于base64加密解密的算法!
- AES加密解密|及Base64的使用
- AES加密解密|及Base64的使用
- BASE64 加密与解密的使用
- php 写的base64 加密解密
- DES+Base64 加密解密的方法
- base64的加密和解密案例
- Java加密与解密的艺术-Base64
- DES+Base64 加密解密的方法
- base64加密解密c++的简单实现
- Base64 加密解密字符串的简单使用
- 00-自测3. 数组元素循环右移问题 (20)
- 无向图 广度优先遍历 c语言实现
- Basic Calculator II
- iOS开发系列--Objective-C之KVC、KVO
- FreeRTOS学习笔记-1-Coding Standard and Style Guide(编码标准和风格)
- Base64的加密解密
- Bower : ENOGIT git is not installed or not in the PATH
- SQL 某月份用该月份的前三位英文表示
- 《TCP/IP入门经典》——网络访问层
- Servlet内部跳转
- NSNotificationCenter和消息推送的学习
- Bootloader
- POJ 1606 && HDU 1415 Jugs(机智)
- leetcode - Divide Two Integers