golang-module / dongle

A simple, semantic and developer-friendly golang package for encoding&decoding and encryption&decryption
https://pkg.go.dev/github.com/golang-module/dongle
MIT License
875 stars 67 forks source link

Aes/ECB/PKCS5 加解密有问题 #2

Closed JackLeeHal closed 2 years ago

JackLeeHal commented 2 years ago

Aes/ECB 模式下的偏移值是不需要的 但是使用库中的方法如果不设置iv会报错

gouguoyin commented 2 years ago

目前还不支持ECB模式,所以都需要设置iv,目前支持的模式可查看 https://github.com/golang-module/dongle#feature-list

Issues-translate-bot commented 2 years ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


ECB mode is not yet supported, so all need to set iv

gouguoyin commented 1 year ago

v0.1.2 已支持 ECB 模式

Issues-translate-bot commented 1 year ago

The issue body's language is not English, translate it automatically, please use English next time. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


v0.1.2 has supported ECB mode