Dongle Versions Save

A simple, semantic and developer-friendly golang package for encoding&decoding and encryption&decryption

v0.2.8

1 year ago
  • Add comment for openssl package
  • Add openssl.RSA.FormatPublicKey() method, format public key, add header, tail and newline character
  • Add openssl.RSA.FormatPrivateKey() method, format private key, add header, tail and newline character
  • Add openssl.RSA.CompressKey() method, remove head, tail and newline character

v0.2.7

1 year ago
  • Add openssl package for certificate
  • Separate some functions from rsa package into openssl package

v0.2.6

1 year ago
  • Add tea support for long plaintext encryption and decryption
  • Added support for empty string padding mode
  • Rename github.com/tjfoc/gmsm/sm3 to github.com/emmansun/gmsm/sm3
  • Move encrypt method from encrypter.go to cipher.go, decrypt method from decrypter.go to cipher.go
  • Remove invalidTeaSrcErrorinvalidModeError and invalidPaddingError

v0.2.5

1 year ago
  • Add rsa support for long plaintext private key encryption and public key decryption
  • Rename split() to bytesSplit() and remove from rsa.go to dongle/rsa.go
  • Remove invalidRsaHashError from errors.go to dongle/rsa.go
  • Upgrade golang.org/x/crypto version to v0.4.0
  • Fix comment errors

v0.2.4

1 year ago
  • Add support for base45 encoding and decoding
  • Add support for blake2b-256, blake2b-384, blake2b-512 hash encryption
  • Add support for blake2s-256 hash encryption
  • Add rsa support for more than 117 bytes long plaintext encryption and decryption

v0.2.3

1 year ago
  • Add support for shake128 hash algorithm
  • Add support for shake256 hash algorithm

v0.2.2

1 year ago
  • Add support for blowfish encryption and decryption
  • Add support for AnsiX923 and ISO97971 padding modes
  • Rename encode.go to encoder.go, decode.go to decoder.go, encrypt.go to encrypter.go, sign.go to signer.go, verify.go to verifier.go
  • Rename isSupportedHash() to (receiver).isRsaSupported() in rsa.go
  • Rename carbon.RAW to carbon.Raw, carbon.HEX to carbon.Hex, carbon.BASE64 to carbon.Base64

v0.2.1

1 year ago
  • Add support for md2 hash algorithm
  • Add support for hmac-md2 digest algorithm
  • Add support for ed25519 signature and verification #9
  • Optimize the handling of decrypted ciphertext length errors #10
  • Optimize ToBool() method judgment in verify.go
  • Rename newEncoder() to NewEncoder(), newDecoder() to NewDecoder(), newEncrypter() to NewEncrypter(), newDecrypter() to NewDecrypter()

v0.2.0

1 year ago
  • 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

1 year ago
  • 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