guervild / uru

GNU General Public License v3.0
79 stars 9 forks source link

[Golang][encoder] - aes module key size #8

Open guervild opened 1 year ago

guervild commented 1 year ago

The keysize must be 32, if a the user set a size less than that it will crash, see: https://github.com/guervild/uru/blob/main/pkg/encoder/aes.go#L26