Versions in this module Expand all Collapse all v1 v1.0.1 Jan 9, 2022 Changes in this version + var EncPassword string + var EncUsername string + var PwdKey = []byte("This(*Key*)@2021This(*Key*)@2021") + func AesDeCrypt(cypted []byte, key []byte) ([]byte, error) + func AesEcrypt(origData []byte, key []byte) ([]byte, error) + func DePwdCode(pwd string) ([]byte, error) + func EnPwdCode(pwd []byte) (string, error) + func GetFileContent(src string) (body []byte, err error) + func GetMD5(s string) string + func GetUrlContent(src string) (body []byte, err error) + func PKCS7Padding(ciphertext []byte, blockSize int) []byte + func PKCS7UnPadding(origData []byte) ([]byte, error) + func ParseAccessKey(s string) (username, password string) + func SaveFile(fpath string, fcontent []byte) (err error) + func ShowAccessKey() + func SliceUnique(lines []string) (lines_unique []string)