六月婷婷综合激情-六月婷婷综合-六月婷婷在线观看-六月婷婷在线-亚洲黄色在线网站-亚洲黄色在线观看网站

明輝手游網中心:是一個免費提供流行視頻軟件教程、在線學習分享的學習平臺!

一段加密函數(base64)

[摘要]Const sBASE_64_CHARACTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/&...
Const sBASE_64_CHARACTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"


Function Base64encode(ByVal asContents)
Dim lnPosition
Dim lsResult
Dim Char1
Dim Char2
Dim Char3
Dim Char4
Dim Byte1
Dim Byte2
Dim Byte3
Dim SaveBits1
Dim SaveBits2
Dim lsGroupBinary
Dim lsGroup64

If Len(asContents) Mod 3 > 0 Then asContents = asContents & String(3 - (Len(asContents) Mod 3), " ")
lsResult = ""

For lnPosition = 1 To Len(asContents) Step 3
lsGroup64 = ""
lsGroupBinary = Mid(asContents, lnPosition, 3)

Byte1 = Asc(Mid(lsGroupBinary, 1, 1)): SaveBits1 = Byte1 And 3
Byte2 = Asc(Mid(lsGroupBinary, 2, 1)): SaveBits2 = Byte2 And 15
Byte3 = Asc(Mid(lsGroupBinary, 3, 1))

Char1 = Mid(sBASE_64_CHARACTERS, ((Byte1 And 252) \ 4) + 1, 1)
Char2 = Mid(sBASE_64_CHARACTERS, (((Byte2 And 240) \ 16) Or (SaveBits1 * 16) And &HFF) + 1, 1)
Char3 = Mid(sBASE_64_CHARACTERS, (((Byte3 And 192) \ 64) Or (SaveBits2 * 4) And &HFF) + 1, 1)
Char4 = Mid(sBASE_64_CHARACTERS, (Byte3 And 63) + 1, 1)
lsGroup64 = Char1 & Char2 & Char3 & Char4

lsResult = lsResult + lsGroup64
Next

Base64encode = lsResult
End Function





主站蜘蛛池模板: 欧美艳星nikki办公室 | 亚洲ay| 天天躁夜夜躁狠狠躁躁 | 亚洲艹| 午夜影院欧美 | 日本三级理论 | 亚洲一区二区免费在线观看 | 日日摸夜夜添夜夜添一区二区 | 全部免费毛片免费播放 | 天天色影网 | 午夜色站| 天天躁夜夜躁狠狠躁躁88 | 日韩在线观看视频黄 | 午夜传媒 | 亚洲美女视频一区 | 日日躁夜夜躁狠狠天天 | 亚洲欧美在线精品一区二区 | 亚洲国产精品线在线观看 | 色综合久久久 | 羞羞色男人的天堂 | 四虎影免看黄 | 中文字幕在线网址 | 日韩黄色网址 | 亚洲精品在线看 | 我要色综合网 | 日本国产欧美色综合 | 青青草精品在线 | 午夜久久精品 | 四虎必出精品亚洲高清 | 亚洲 欧美 偷自乱 图片 | 色综合天天综合网国产成人 | 天天爱夜夜操 | 欧美一区二区三区四区在线观看 | 日韩成人在线观看视频 | 亚洲色欧美 | 日韩中文字幕精品一区在线 | 视频二区在线 | 性亚洲| 亚洲v日本 | 欧美亚洲综合一区 | 婷婷色综合成人成人网小说 |