Skip to content

Change Log

v1.1.0 (2025-08-23)

⚠️ This is a breaking change version, please upgrade with caution, but it is strongly recommended to upgrade

  • [refactor] Delete BySafeURL encoding/decoding method

  • [refactor] Delete Sm3 hash algorithm (hash) and message authentication code algorithm (hmac)

  • [refactor] Rename ByBase64URL encoding/decoding method to ByBase64Url

  • [refactor] Hash algorithm (hash) calling method changed from dongle.Encrypt.ByXXX() to dongle.Hash.ByXXX()

  • [refactor] Message authentication code algorithm (hmac) calling method changed from dongle.Encrypt.ByHmacXXX() to dongle.Hash.WithKey().ByXXX()

  • [refactor] Refactor AES, DES, 3DES, Blowfish and other symmetric encryption/decryption methods, uniformly use cipher.NewXXXCipher()

  • [refactor] Refactor RSA and other asymmetric encryption/decryption methods, uniformly use keypair.NewXXXKeyPair()

  • [feat] Add support for file stream encoding/decoding, encryption/decryption, Hash/HMAC, signature/verification

  • [feat] Add new ByBase32Hex encoding/decoding method

  • [feat] Add support for base32/base32Hex encoding custom character

  • [feat] Add support for base45 encoding custom character

  • [feat] Add support for base62 encoding custom character

  • [feat] Add support for base64/base64Url encoding custom character

v1.0.1 (2024-11-22)

  • Optimize code quality and organizational structure
  • Fix bug with AES-CBC-PKCS5 encryption/decryption errors
  • base62 supports custom encoding tables
  • Delete errors.go file, migrate error messages to individual files
  • Unify unit test format
  • Remove Chinese comments

v1.0.0 (2024-11-11)

  • Fixed panic caused by AES/ECB/PKCS5 padding
  • Changed repository and badge urls

For change logs of earlier versions, please refer to releases

Released under the MIT License, unauthorized reproduction is prohibited in any form