Dongle is a simple, semantic and developer-friendly golang package for encoding&decoding and encryption&decryption
Dongle
has been included by awesome-go , if you think
it is helpful, please give me a star
github.com/golang-module/dongle
Change log
- Add
tea
support for long plaintext encryption and decryption - Added support for
empty string
padding mode - Rename
github.com/tjfoc/gmsm/sm3
togithub.com/emmansun/gmsm/sm3
- Move
encrypt
method fromencrypter.go
tocipher.go
,decrypt
method fromdecrypter.go
tocipher.go
- Remove
invalidTeaSrcError
、invalidModeError
andinvalidPaddingError