Skip to content

Releases: dromara/dongle

v0.2.0

07 Dec 02:40
Compare
Choose a tag to compare
  • Rename encode to encoder
  • Rename decode to decoder
  • Rename encrypt to encrypter, add ToRawString() , ToRawBytes() methods
  • Rename decrypt to decrypter, add FromRawString(), FromRawBytes() methods
  • Rename sign to signer, add ToRawString() 和 ToRawBytes() methods
  • Rename verify to verifier, add FromRawString() , FromRawBytes() , ToBool() methods
  • Add encryption support for sha3-224, sha3-256, sha3-384, sha3-512
  • Add encryption support for hmac-sha3-224, hmac-sha3-256, hmac-sha3-384, hmac-sha3-512
  • Add encryption support for sha512, sha512-224, sha512-256
  • Add encryption support for hmac-sha512, hmac-sha512-224, hmac-sha512-256
  • Add support for rsa signature and signature verification
  • Remove base58.go, base62.go, base91.go, base100.go to sub package
  • Morse encoding and decoding support the specified separator. The default is /
  • Unified unit test format

v0.1.5

02 Dec 14:56
Compare
Choose a tag to compare
  • Add support for morse encode and decode
  • Add support for ripemd160 encryption and decryption
  • Add support for hmac-ripemd160 encryption and decryption
  • Optimize code and reduce the number of files
  • Unified unit test format
  • Fix known bugs

v0.1.4

30 Nov 01:18
Compare
Choose a tag to compare
  • Add support for tea encryption and decryption
  • Add support for bcrypt signature and verification
  • Add cipherMode, cipherPadding and pkcsVersion type aliases
  • Fix known bugs
  • Improve unit test coverage to 100%

v0.1.3

23 Nov 03:05
ec46ec7
Compare
Choose a tag to compare
  • Add support for base62 encoding and decoding
  • Add support for base91 encoding and decoding
  • Add support for base100 encoding and decoding
  • Add support for sm3 encryption
  • Optimize code and simplify logic
  • Fix document spelling errors

v0.1.2

20 Nov 13:58
3e06b6a
Compare
Choose a tag to compare
  • Add support for base85 encoding and decoding
  • Add support for rsa encryption and decryption
  • Add support for ecb group mode
  • Fix known bugs

v0.1.1

30 May 01:05
Compare
Choose a tag to compare
  • Add support for base58 encoding and decoding
  • Add support for des encryption and decryption
  • Add support for 3des encryption and decryption
  • Fix decrypt or decode functions comment bugs
  • Unified unit test format

v0.1.0

25 May 01:41
Compare
Choose a tag to compare

Feature list

  • Encoding and decoding by Hex
  • Encoding and decoding by Base32
  • Encoding and decoding by Base64
  • Encoding and decoding by Base64URL
  • Encoding and decoding by SafeURL
  • Encryption by Md4
  • Encryption by Hmac-md4
  • Encryption by Md5
  • Encryption by Hmac-md5
  • Encryption by ShaXXX
  • Encryption by Hmac-shaXXX
  • Encryption by Rc4
  • Encryption and decryption by AES-CBC-NoPadding
  • Encryption and decryption by AES-CBC-ZeroPadding
  • Encryption and decryption by AES-CBC-PKCS5Padding
  • Encryption and decryption by AES-CBC-PKCS7Padding
  • Encryption and decryption by AES-CTR-NoPadding
  • Encryption and decryption by AES-CTR-ZeroPadding
  • Encryption and decryption by AES-CTR-PKCS5Padding
  • Encryption and decryption by AES-CTR-PKCS7Padding
  • Encryption and decryption by AES-CFB-NoPadding
  • Encryption and decryption by AES-CFB-ZeroPadding
  • Encryption and decryption by AES-CFB-PKCS5Padding
  • Encryption and decryption by AES-CFB-PKCS7Padding
  • Encryption and decryption by AES-OFB-NoPadding
  • Encryption and decryption by AES-OFB-ZeroPadding
  • Encryption and decryption by AES-OFB-PKCS5Padding
  • Encryption and decryption by AES-OFB-PKCS7Padding

v0.0.2

24 Aug 06:42
Compare
Choose a tag to compare
  • 新增 BASE58 编码、解码支持
  • 新增 AES 加密、解密支持,目前仅支持CBC分组模式,ZeroPadding、PKCS5Padding和PKCS7Padding填充模式

v0.0.1

13 Aug 03:31
Compare
Choose a tag to compare
  • 实现 base32 编码解码
  • 实现 base64 编码解码
  • 实现 hex 编码解码
  • 实现 md5 加密解密
  • 实现 sha1 加密解密
  • 实现 sha224 加密解密
  • 实现 sha256 加密解密
  • 实现 sha384 加密解密
  • 实现 sha512 加密解密