package
0.0.5
Repository: https://github.com/peakchen/xcommon.git
Documentation: pkg.go.dev

# Functions

CleanPath is the URL version of path.Clean, it returns a canonical URL path for p, eliminating .
DecodeMap decode data to map.
DecodeString deencode string use base64 StdEncoding.
No description provided by the author
ECB Des decrypt.
ECB Des encrypt.
EncodeMap encode the map to gob.
EncodeString encode string use base64 StdEncoding.
check filename exists.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
add mac and time.now() as seed.
get current computer mac addr.
create 32bit md5 string.
GetMd5String compute the md5 sum as string.
GetRandString returns randominzed string with given length.
get new uuid.
hash output uint32.
Int2String convert int to string.
Int642String convert int64 to string.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
use rand number create Guid string.
No description provided by the author
No description provided by the author
NSToTime convert ns to time.Time.
No description provided by the author
ECB PKCS5Padding.
ECB PKCS5UnPadding.
create rand unsign 32 bit by single number */.
create rand unsign 64 bit by single number */.
rand int32 number space: [1,n] min: 1 max: n */.
rand int32 number space: [0,n) min: 1 max: n */.
rand int64 number space: [1,n] min: 1 max: n */.
No description provided by the author
No description provided by the author
No description provided by the author
string array data cover to string.
String2Bytes convert string to []byte.
String2Int convert string to int.
String2Int64 convert string to int64.
No description provided by the author
String2UInt64 convert string to uint64.
[golang ECB 3DES Decrypt].
[golang ECB 3DES Encrypt].
UInt642String convert uint64 to string.
for chinese encoding.
No description provided by the author
No description provided by the author
No description provided by the author