// NewAESEncrypter initialize a new AESEncrypter interfaced with Encrypter
NewAESEncrypter initialize a new AESEncrypter interfaced with Encrypter
// NewAESEncrypter initialize a new AESEncrypter interfaced with Encrypter
func NewAESEncrypter(key []byte, iv []byte) (*AESEncrypter, error) {
	block, err := aes.NewCipher(key)
	if err != nil {
		return nil, err
	}
	e := AESEncrypter{
		block:        block,
		encryptionIV: iv,
	}
	return &e, nil
}
func NewAESEncrypter ( key [ ] byte , iv [ ] byte ) ( * AESEncrypter , error ) { block , err := aes . NewCipher ( key ) if err != nil { return nil , err } e := AESEncrypter { block : block , encryptionIV : iv , } return & e , nil }
NewAESEncrypter initialize a new AESEncrypter interfaced with Encrypter
NewAESEncrypter initialize a new AESEncrypter interfaced with Encrypter