Documentation ¶
Index ¶
- func ByteAesECBDecrypt(dataMSG, key []byte) ([]byte, error)
- func ByteGbkToUtf8(gbkByte []byte) ([]byte, error)
- func ByteUtf8ToGbk(utf8byte []byte) ([]byte, error)
- func CheckRealPhone(phonenumber string) bool
- func HttpJsonDo(httpMethod, url string, jsonMarshal []byte) ([]byte, error)
- func StringAesECBPKCS7Encrypted(keyMSG, origDataMSG string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteAesECBDecrypt ¶
@title ByteAesECBDecrypt @description []Byte Aes ECB PKCS7 Decrypt @auth CyBen (2020-06-06 11:37:10) @param dataMSG,key []byte @return retData,error []byte,error
func ByteGbkToUtf8 ¶
@title ByteGbkToUtf8 @description Gbk Transform To Utf8 @auth CyBen (2020-06-06 11:14:10) @param gbkByte []byte @return utf8Byte,error []byte,error
func ByteUtf8ToGbk ¶
@title ByteUtf8ToGbk @description Utf8 Transform To Gbk @auth CyBen (2020-06-06 11:10:35) @param utf8Byte []byte @return gbkByte,error []byte,error
func CheckRealPhone ¶
@CheckRealPhone @description check phoneNumber true/false @Author CyBen @param phoneNumber string @return true/false bool
func HttpJsonDo ¶
@title HttpJsonDo @description Http Send Json @auth CyBen (2020-06-06 11:50:46) @param httpMethod,url,jsonMarshal string,string,[]byte @return response,error []byte, error
func StringAesECBPKCS7Encrypted ¶
@title StringAesECBPKCS7Encrypted @description Aes ECB PKCS7 Encrypted @auth CyBen (2020-06-06 11:33:29) @param keyMSG, origDataMSG string @return encryptedMSG string
Types ¶
This section is empty.