golang aes加密ecb模式
golang官方不支持ecb模式package myAesimport ( "bytes" "crypto/aes" "crypto/md5" "encoding/hex" "fmt" "strings")func padding(ciphertext []byte, blockSize int) []byte { padding := blockSize - len(ciph