Skip to content

v1.1.7

Choose a tag to compare

@gouguoyin gouguoyin released this 20 Oct 01:29
· 183 commits to master since this release
340283c
English
  • Fix bug in asymmetric digital signature algorithm verification #30
  • Optimize streaming processing logic, add support for reader position reset to ensure reading from the beginning of the data source, avoiding position offset issues caused by previous read operations, ensuring completeness and correctness of streaming operations
  • Change private methods newXXXEncrypter and newXXXDecrypter series in crypto/cipher/block.go to public methods NewXXXEncrypter and NewXXXDecrypter
  • Change private methods newXXXPadding and newXXXUnPadding series in crypto/cipher/padding.go to public methods NewXXXPadding and NewXXXUnPadding
  • Add sm4 chinese national standard block encryption algorithm support, including standard processing and streaming processing, supporting different block modes and padding modes
中文
  • 修复非对称数字签名算法中验签错误的 bug #30
  • 优化流式处理逻辑,添加对 reader 位置重置的支持,确保从数据源的开头开始读取,避免因之前读取操作导致的位置偏移问题,保证流式操作的完整性和正确性
  • crypto/cipher/block.go 中 newXXXEncrypter 和 newXXXDecrypter 系列私有方法更改成公开方法 NewXXXEncrypter 和 NewXXXDecrypter
  • crypto/cipher/padding.go 中 newXXXPadding 和 newXXXUnPadding 系列私有方法更改成公开方法 NewXXXPadding 和 NewXXXUnPadding
  • 增加 sm4 中国国家标准分组加密算法支持,包括标准处理和流式处理,支持不同分块模式和填充模式

Full Changelog: v1.1.6...v1.1.7