Dongle is a straightforward, semantic and developer-friendly golang package deal for encoding&decoding and encryption&decryption
Dongle
has been included by awesome-go , in the event you assume
it’s useful, please give me a star
github.com/golang-module/dongle
Change log
- Add
tea
assist for lengthy plaintext encryption and decryption - Added assist for
empty string
padding mode - Rename
github.com/tjfoc/gmsm/sm3
togithub.com/emmansun/gmsm/sm3
- Transfer
encrypt
methodology fromencrypter.go
tocipher.go
,decrypt
methodology fromdecrypter.go
tocipher.go
- Take away
invalidTeaSrcError
、invalidModeError
andinvalidPaddingError