package org.javaniu.encryptanddecrypt;

import org.codehaus.xfire.util.Base64;

/**
 * Base64工具
 * @author javaniu_飞翔
 *
 */
public class BaseUtils {
	
	/**
	 * 加base64
	 * @param b
	 * @return
	 */
	public String ne64(byte[] b){
		return Base64.encode(b);
	}
	
	/**
	 * 解base64
	 * @param s
	 * @return
	 */
	public byte[] de64(String s){
		return Base64.decode(s);
	}

}
最近下载更多
asdf123411  LV2 2021年5月21日
wananall  LV13 2020年6月28日
jhxly123  LV6 2019年8月18日
Cesare  LV3 2019年6月26日
2224947710  LV17 2018年8月18日
故事_sun  LV26 2018年5月25日
shuilianbing  LV6 2018年5月19日
shao9803  LV12 2018年5月19日
mahuig  LV10 2018年3月17日
1324488732  LV27 2018年3月5日
最近浏览更多
heqian  LV16 2022年12月5日
SZEPEZS  LV8 2022年6月9日
17842711  LV1 2022年3月28日
无语问苍天  LV1 2021年7月30日
asdf123411  LV2 2021年5月21日
smiledog  LV2 2021年1月29日
1113783182  LV1 2020年7月9日
zzs269285304  LV7 2020年6月29日
wananall  LV13 2020年6月28日
ma406805131  LV11 2020年6月18日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友