code: func EncryptMsg(random, rawXMLMsg []byte, appID, aesKey string) (encrtptMsg []byte, err error) {
  	defer func() {
  		if e := recover(); e != nil {
  			err = fmt.Errorf("panic error: err=%v", e)
  			return
  		}
  	}()
  	var key []byte
  	key, err = aesKeyDecode(aesKey)
  	if err != nil {
  		panic(err)
  	}
  	ciphertext := AESEncryptMsg(random, rawXMLMsg, appID, key)
  	encrtptMsg = []byte(base64.StdEncoding.EncodeToString(ciphertext))
  	return
  }
docs: //EncryptMsg 加密消息