2013年9月10日

AES加解密

摘要: public class AESHelper { /** 算法/模式/填充 **/ private static final String CipherMode = "AES/ECB/PKCS5Padding"; /** 创建密钥 **/ private static SecretKeySp... 阅读全文

posted @ 2013-09-10 17:00 bwlcool 阅读(140) 评论(0) 推荐(0) 编辑

文件工具类

摘要: public class FileUtil { /** * 删除文件 * * @param context * 程序上下文 * @param fileName * 文件名,要在系统内保持唯一 * @return boolean 存储... 阅读全文

posted @ 2013-09-10 16:58 bwlcool 阅读(116) 评论(0) 推荐(0) 编辑

下载文件工具类

摘要: public class DownloadUtils { private static final int CONNECT_TIMEOUT = 10000; private static final int DATA_TIMEOUT = 40000; private final static... 阅读全文

posted @ 2013-09-10 16:55 bwlcool 阅读(107) 评论(0) 推荐(0) 编辑

导航