Skip to content

Latest commit

 

History

History
216 lines (108 loc) · 7.15 KB

CHANGELOG.md

File metadata and controls

216 lines (108 loc) · 7.15 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.9.3 (2024-10-10)

Bug Fixes

1.9.2 (2024-08-16)

Bug Fixes

  • sm4: string type return (406fa5a)

1.9.1 (2024-07-09)

Bug Fixes

  • asn1: correct the implementation of the long version of L encoding in asn.1 (55569c5)

1.9.0 (2023-12-27)

Features

  • sm2: support asn1 der encoded encryption/decryption (f08b9fd)
  • support miniprogram build (bb4dddc)

1.8.0 (2023-12-15)

Features

  • sm2: support asn1 der encoded encryption/decryption (f08b9fd)

1.7.0 (2023-07-17)

Features

  • sm2: support precompute sm2 point (ae347bf)

1.6.0 (2023-07-11)

Features

1.5.1 (2023-06-28)

Bug Fixes

  • sm2/kx: align key exchange with standard (b4fae83)

1.5.0 (2023-06-11)

Features

1.4.0 (2023-06-09)

Features

  • sm2: add experimental key agreement (cdd00b4)

1.3.0 (2023-06-07)

Features

  • sm2: add benchmark and optimize rng pooling (b162377)

1.2.2 (2023-06-07)

Bug Fixes

1.2.1 (2023-06-07)

1.2.0 (2023-06-07)

Features

1.1.0 (2023-06-07)

0.3.15 (2023-06-07)

Features

0.3.14 (2023-06-07)

Features

0.3.13 (2023-06-06)

Features

Bug Fixes

0.3.12

  • 优化 sm3 运行性能

0.3.11

  • sm2 支持压缩公钥

0.3.10

  • 支持 sm3 hmac 模式

0.3.9

  • 补充 sm4 解密时的 padding 判断

0.3.8

  • sm2 解密时兼容密文可能是大写的情况

0.3.7

  • 默认填充改为 pkcs#7,如传入 pkcs#5 也转到 pkcs#7 逻辑

0.3.6

  • sm2 加解密支持二进制数据

0.3.5

  • sm2.generateKeyPairHex 支持完整的 BigInteger 入参

0.3.4

  • sm2 支持验证公钥接口
  • sm2 生成密钥时支持自定义随机数

0.3.3

  • dist 输出改成 umd 模式

0.3.2

  • 修复 sm2 在 userId 长度大于 31 时新旧版本验签不通过的问题

0.3.0

  • sm2、sm3 重构
  • sm4 支持 cbc 模式

0.2.7

  • 优化 sm3 性能

0.2.5

  • sm3 支持字节数组输入

0.2.4

  • 修复 sm4 四字节字符输出编码

0.2.3

  • sm3/sm4 支持输入四字节字符

0.2.2

  • sm3 支持中文输入

0.2.1

  • 修复 sm2 点 16 进制串可能不满 64 位的问题

0.2.0

  • sm4 默认支持 pkcs#5 填充方式
  • sm4 支持输入输出为字符串