婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁 > 知識庫 > vbs base64 解密腳本代碼

vbs base64 解密腳本代碼

熱門標(biāo)簽:智云億呼電話機器人 企業(yè)400電話辦理價錢低 機器人打電銷適用于美業(yè)嗎 外呼系統(tǒng)群 龍巖400電話申請 上海辦理400電話選號 墨西哥地圖標(biāo)注app 天津智能外呼系統(tǒng)排名 外呼系統(tǒng)說話聲音小怎么辦

復(fù)制代碼 代碼如下:

Function fDecode(sStringToDecode)
'This function will decode a Base64 encoded string and returns the decoded string.
'This becomes usefull when attempting to hide passwords from prying eyes.
Const CharList = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
Dim iDataLength, sOutputString, iGroupInitialCharacter
sStringToDecode = Replace(Replace(Replace(sStringToDecode, vbCrLf, ""), vbTab, ""), " ", "")
iDataLength = Len(sStringToDecode)
If iDataLength Mod 4 > 0 Then
fDecode = "Bad string passed to fDecode() function."
Exit Function
End If
For iGroupInitialCharacter = 1 To iDataLength Step 4
Dim iDataByteCount, iCharacterCounter, sCharacter, iData, iGroup, sPreliminaryOutString
iDataByteCount = 3
iGroup = 0
For iCharacterCounter = 0 To 3
sCharacter = Mid(sStringToDecode, iGroupInitialCharacter + iCharacterCounter, 1)
If sCharacter = "=" Then
iDataByteCount = iDataByteCount - 1
iData = 0
Else
iData = InStr(1, CharList, sCharacter, 0) - 1
If iData = -1 Then
fDecode = "Bad string passed to fDecode() function."
Exit Function
End If
End If
iGroup = 64 * iGroup + iData
Next
iGroup = Hex(iGroup)
iGroup = String(6 - Len(iGroup), "0") iGroup
sPreliminaryOutString = Chr(CByte("H" Mid(iGroup, 1, 2))) Chr(CByte("H" Mid(iGroup, 3, 2))) Chr(CByte("H" Mid(iGroup, 5, 2)))
sOutputString = sOutputString Left(sPreliminaryOutString, iDataByteCount)
Next
fDecode = sOutputString
End Function

base64 測試代碼:
復(fù)制代碼 代碼如下:

Function fDecode(sStringToDecode)
'This function will decode a Base64 encoded string and returns the decoded string.
'This becomes usefull when attempting to hide passwords from prying eyes.
Const CharList = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
Dim iDataLength, sOutputString, iGroupInitialCharacter
sStringToDecode = Replace(Replace(Replace(sStringToDecode, vbCrLf, ""), vbTab, ""), " ", "")
iDataLength = Len(sStringToDecode)
If iDataLength Mod 4 > 0 Then
fDecode = "Bad string passed to fDecode() function."
Exit Function
End If
For iGroupInitialCharacter = 1 To iDataLength Step 4
Dim iDataByteCount, iCharacterCounter, sCharacter, iData, iGroup, sPreliminaryOutString
iDataByteCount = 3
iGroup = 0
For iCharacterCounter = 0 To 3
sCharacter = Mid(sStringToDecode, iGroupInitialCharacter + iCharacterCounter, 1)
If sCharacter = "=" Then
iDataByteCount = iDataByteCount - 1
iData = 0
Else
iData = InStr(1, CharList, sCharacter, 0) - 1
If iData = -1 Then
fDecode = "Bad string passed to fDecode() function."
Exit Function
End If
End If
iGroup = 64 * iGroup + iData
Next
iGroup = Hex(iGroup)
iGroup = String(6 - Len(iGroup), "0") iGroup
sPreliminaryOutString = Chr(CByte("H" Mid(iGroup, 1, 2))) Chr(CByte("H" Mid(iGroup, 3, 2))) Chr(CByte("H" Mid(iGroup, 5, 2)))
sOutputString = sOutputString Left(sPreliminaryOutString, iDataByteCount)
Next
fDecode = sOutputString
End Function
msgbox fDecode("d3d3LmpiNTEubmV0")

需要測試加密的代碼的朋友可以訪問 https://www.jb51.net/tools/base64.htm

您可能感興趣的文章:
  • Base64在線編碼解碼實現(xiàn)代碼 演示與下載
  • asp base64加解密函數(shù)代碼
  • vbs版的解密base64加密的腳本
  • 關(guān)于加密解密 Base64 and URL and Hex Encoding and Decoding
  • 關(guān)于base64加密/解密
  • JavaScript Base64編碼和解碼,實現(xiàn)URL參數(shù)傳遞。
  • Javascript base64編碼實現(xiàn)代碼

標(biāo)簽:阜新 齊齊哈爾 承德 麗水 青島 錫林郭勒盟 黃山 鄂爾多斯

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《vbs base64 解密腳本代碼》,本文關(guān)鍵詞  vbs,base64,解密,腳本,代碼,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《vbs base64 解密腳本代碼》相關(guān)的同類信息!
  • 本頁收集關(guān)于vbs base64 解密腳本代碼的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    主站蜘蛛池模板: 手游| 信丰县| 广德县| 盘山县| 新沂市| 上饶市| 上饶县| 陆川县| 陵川县| 英超| 衡山县| 冷水江市| 西青区| 天柱县| 称多县| 台江县| 密山市| 东平县| 云霄县| 玛多县| 遂平县| 邻水| 高州市| 喜德县| 南宁市| 溧阳市| 大竹县| 三门县| 洪湖市| 哈巴河县| 封丘县| 剑河县| 镇原县| 胶州市| 绵竹市| 壤塘县| 丽水市| 房产| 遵义县| 朝阳县| 华亭县|