验证中...
Languages: Java
Categories: 文件解析和处理
Latest update 2019-02-13 00:18
gistfile1.txt
Raw Copy
1.Base64转byte[]
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>3.3</version>
</dependency>
private static byte [] toByteArray(String base64) {
return new Base64().decode(base64);
}
2.byte[]转Base64
new Base64().encodeToString(byte [])
3.MD5、AES见SMS模块的工具类

Comment list( 0 )

You need to Sign in for post a comment

Help Search

Gitee_sixth 5th_float_left_close