Apache Commons Codec 1.7 发布
Apache Commons Codec 1.7 发布,该版本要求 Java 6 的支持。
这是 Commons 项目中用来处理常用的编码方法的工具类包,例如DES、SHA1、MD5、Base64等等。
详细的改进记录包括:
New features:
o CODEC-157: DigestUtils: Add MD2 APIs. Thanks to ggregory.
o CODEC-156: DigestUtils: add APIs named after standard algorithm name
SHA-1. Thanks to ggregory.
o CODEC-155: DigestUtils.getDigest(String) should throw
IllegalArgumentException instead of RuntimeException. Thanks to ggregory.
o CODEC-153: Create a class MessageDigestAlgorithms to define standard
algorithm names. Thanks to ggregory.
o CODEC-152: DigestUtils.getDigest(String) loses the original exception.
Thanks to ggregory.
o CODEC-151: Remove unnecessary attempt to fill up the salt variable in
UnixCrypt. Thanks to lathspell.
o CODEC-150: Remove unnecessary call to Math.abs(). Thanks to lathspell.
o CODEC-148: More tests and minor things. Thanks to lathspell.
o CODEC-146: Added regression tests for PhoneticEngine based on
Solr-3.6.0. Thanks to Julius Davies.
o CODEC-139: DigestUtils: add updateDigest methods and make methods
public. Thanks to dsebastien.
o CODEC-133: Add classes for MD5/SHA1/SHA-512-based Unix crypt(3) hash
variants. Thanks to lathspell.
o CODEC-130: Base64InputStream.skip skips underlying stream, not output.
Thanks to tn.
o CODEC-63: Implement NYSIIS phonetic encoder. Thanks to bayard.
Fixed Bugs:
o CODEC-96: Base64 encode() method is no longer thread-safe, breaking
clients using it as a shared BinaryEncoder.
Note: the fix breaks binary compatibility, however the
changes are to a class (BaseNCodec) which is
intended for internal use. Thanks to sebb.
o CODEC-138: Complete FilterInputStream interface for
BaseNCodecInputStream.
o CODEC-136: Use Charset objects when possible, create Charsets for
required character encodings.
o CODEC-132: BeiderMorseEncoder OOM issues. Thanks to rcmuir.
o CODEC-131: DoubleMetaphone javadoc contains dead links. Thanks to smolav.
Changes:
o CODEC-147: BeiderMorseEncoder/PhoneticEngine: make results deterministic
by using a LinkedHashSet
instead of a HashSet.
o CODEC-143: StringBuffer could be replaced by StringBuilder for local
variables.
转载于:https://www.cnblogs.com/shihao/archive/2012/09/19/2693238.html
Apache Commons Codec 1.7 发布相关推荐
- import org.apache.commons.codec.digest.DigestUtils; 未导入
import org.apache.commons.codec.digest.DigestUtils; 链接: <!-- https://mvnrepository.com/artifact/c ...
- android.util.Base64 和 org.apache.commons.codec.binary.Base64
Base64编码: android.util.Base64: //b是byte类型 Base64.encodeToString(b,Base64.DEFAULT); 等于: org.apache.co ...
- org.apache.commons.codec.binary.Base64包需要下载的jar包依赖
一.org.apache.commons.codec.binary.Base64在pom文件中需要引入的依赖如下: <dependency><groupId>commons-c ...
- Apache Commons Codec介绍
介绍 Commons codec,是项目中用来处理常用的编码方法的工具类包,例如DES.SHA1.MD5.Base64,URL,Soundx等等.不仅是编码,也可用于解码. Maven坐标 <! ...
- Java之加密工具类java.security.MessageDigest或org.apache.commons.codec.digest.DigestUtils
Java之加密(信息摘要)工具类(依赖:java.security.MessageDigest或org.apache.commons.codec.digest.DigestUtils) 1. java ...
- Apache Commons Codec 也就那样吧!!!
一.简介 commons-codec是Apache开源组织提供的用于摘要运算.编码解码的包,常见的编码解码工具Base64.MD5.Hex.SHA1.DES等.常规加密解密算法它由一组实用程序和一 ...
- Apache Commons Codec
Apache Commons Codec这是 Commons 项目中用来处理常用的编码方法的工具类包,例如DES.SHA1.MD5.Base64等等.
- Maven导入org.apache.commons.codec或commons-codec.jar包
背景: 项目中需要使用Base64, 进行加密,发现jdk中的Base64无encodeBase64和encodeBase64String,于是发现apache的commons-codec.jar包, ...
- Android中使用Apache Commons Codec找不到类或者方法错误
废话不多说,直接开始. 常见错误: 在日常开发中,有很多地方用到加密解密的操作来保证数据的安全,这里常用到的就是"Apache Commons Codec"这个工具jar包. 但是 ...
最新文章
- 从一个需求看问题的无限复杂化和简单化
- 两小时搞定负载均衡51CTO技术沙龙现场视频2
- jQuery的后代遍历
- HDU 1978 How many ways DP问题
- MongoDB(两)mongoDB基本介绍
- 虚拟环境中更新pip
- c语言选择题题及答案,c语言选择题
- python统计字符个数然后变成字典_Python之String字符串练习一(统计字符串中单词出现个数并生成字典、打印下一秒钟时间、简单购物车功能)...
- 2020 DEMO CHINA首次进入成都,解码智慧经济新时代
- luogu P4556 [Vani有约会]雨天的尾巴
- ng : 无法加载文件 C:\Users\Administrator\AppData\Roaming\npm\ng.ps1,因为在此系统上禁止运行脚本
- 概率论知识回顾(十):二维连续随机变量分布函数和联合密度函数
- 42款免费精美求职简历word模板,四页求职简历模板,含自荐信
- 矩阵分析与应用-1.10-Hadamard积与Kronecker积
- UI设计师必备10大工具
- 山东省计算机应用能力考核初级,山东省计算机应用能力考核1.doc
- creator 挖洞 转发
- Win10下安装wsl2
- 有哪些好用的App云测试平台?
- Linux进程隐藏问题————显示隐藏进程
热门文章
- Visio 2007中进行数据库建模时如何显示字段类型以及概念名称
- TexturePacker学习笔记——制作NGUI Atlas
- extjs给panel添加滚动条_extjs.treePanel在ie9下滚动条的显示问题-阿里云开发者社区...
- MySQL slowlog 统计_mysql slow log 简单统计
- (3)PCIE中断简介(学无止境)
- (09)Vivado IO约束
- lwip 数据处理流程
- 【飞控理论】从零开始学习Kalman Filters之二:最优状态估计、最优估计算法和方程
- STM32 SPI通信(读写flash)
- nginx基础概念(100%)之keepalive