亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? functions_hash1way.asp

?? 快速、可設定管理權限等級的論壇程序
?? ASP
?? 第 1 頁 / 共 2 頁
字號:
	For intPos = 1 To Len(strBinary) Step 4
	    strHex = strHex & BinaryToHex(Mid(strBinary, intPos, 4))
	Next

	BlockToHex = strHex

End Function

Function DigestHex(strHex, strH0, strH1, strH2, strH3, strH4)

' Main encoding function.  Takes a 128 digit/512 bit hex value and one way encrypts it into
' a 40 digit/160 bit hex value.
'
' Written By: Mark Jager
' Written Date: 8/10/2000
'
' Free to distribute as long as code is not modified, and header is kept intact
'
	Dim strWords(79), adoConst(4), strTemp, strTemp1, strTemp2, strTemp3, strTemp4
	Dim intPos
	Dim strH(4), strA(4), strK(3)

	'Constant hex words are used for encryption, these can be any valid 8 digit hex value
    strK(0) = "5A827999"
    strK(1) = "6ED9EBA1"
    strK(2) = "8F1BBCDC"
    strK(3) = "CA62C1D6"
    
    'Hex words are used in the encryption process, these can be any valid 8 digit hex value
    strH(0) = strH0
    strH(1) = strH1
    strH(2) = strH2
    strH(3) = strH3
    strH(4) = strH4
    
    'divide the Hex block into 16 hex words
	For intPos = 0 To (len(strHex) / 8) - 1
	    strWords(cint(intPos)) = Mid(strHex, (cint(intPos)*8) + 1, 8)
	Next


    'encode the Hex words using the constants above
    'innitialize 80 hex word positions
	For intPos = 16 To 79
	    strTemp = strWords(cint(intPos) - 3)
	    strTemp1 = HexBlockToBinary(strTemp)
	    strTemp = strWords(cint(intPos) - 8)
	    strTemp2 = HexBlockToBinary(strTemp)
	    strTemp = strWords(cint(intPos) - 14)
	    strTemp3 = HexBlockToBinary(strTemp)
	    strTemp = strWords(cint(intPos) - 16)
	    strTemp4 = HexBlockToBinary(strTemp)
	    strTemp = BinaryXOR(strTemp1, strTemp2)
	    strTemp = BinaryXOR(strTemp, strTemp3)
	    strTemp = BinaryXOR(strTemp, strTemp4)
	    strWords(cint(intPos)) = BlockToHex(BinaryShift(strTemp, 1))
	Next

    'initialize the changing word variables with the initial word variables
	strA(0) = strH(0)
	strA(1) = strH(1)
	strA(2) = strH(2)
	strA(3) = strH(3)
	strA(4) = strH(4)

	'Main encryption loop on all 80 hex word positions
	For intPos = 0 To 79
	    strTemp = BinaryShift(HexBlockToBinary(strA(0)), 5)
	    strTemp1 = HexBlockToBinary(strA(3))
	    strTemp2 = HexBlockToBinary(strWords(cint(intPos)))
	    
	    Select Case intPos
	    
	    Case 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
	        strTemp3 = HexBlockToBinary(strK(0))
	        strTemp4 = BinaryOR(BinaryAND(HexBlockToBinary(strA(1)), _
				HexBlockToBinary(strA(2))), BinaryAND(BinaryNOT(HexBlockToBinary(strA(1))), _
				HexBlockToBinary(strA(3))))
	    Case 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39
	        strTemp3 = HexBlockToBinary(strK(1))
	        strTemp4 = BinaryXOR(BinaryXOR(HexBlockToBinary(strA(1)), _
				HexBlockToBinary(strA(2))), HexBlockToBinary(strA(3)))
	    Case 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59
	        strTemp3 = HexBlockToBinary(strK(2))
	        strTemp4 = BinaryOR(BinaryOR(BinaryAND(HexBlockToBinary(strA(1)), _
				HexBlockToBinary(strA(2))), BinaryAND(HexBlockToBinary(strA(1)), _
				HexBlockToBinary(strA(3)))), BinaryAND(HexBlockToBinary(strA(2)), _
				HexBlockToBinary(strA(3))))
	    Case 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79
	        strTemp3 = HexBlockToBinary(strK(3))
	        strTemp4 = BinaryXOR(BinaryXOR(HexBlockToBinary(strA(1)), _
				HexBlockToBinary(strA(2))), HexBlockToBinary(strA(3)))
	    End Select
	    
	    strTemp = BlockToHex(strTemp)
	    strTemp1 = BlockToHex(strTemp1)
	    strTemp2 = BlockToHex(strTemp2)
	    strTemp3 = BlockToHex(strTemp3)
	    strTemp4 = BlockToHex(strTemp4)
	    
	    strTemp = HexAdd(strTemp, strTemp1)
	    strTemp = HexAdd(strTemp, strTemp2)
	    strTemp = HexAdd(strTemp, strTemp3)
	    strTemp = HexAdd(strTemp, strTemp4)
	    
	    strA(4) = strA(3)
	    strA(3) = strA(2)
	    strA(2) = BlockToHex(BinaryShift(HexBlockToBinary(strA(1)), 30))
	    strA(1) = strA(0)
	    strA(0) = strTemp
	    
	Next

	'Concatenate the final Hex Digest
	DigestHex = strA(0) & strA(1) & strA(2) & strA(3) & strA(4)

End Function

Function HexAdd(strHex1, strHex2)
' Function adds to 8 digit/32 bit hex values together Mod 2^32
'
' Written By: Mark Jager
' Written Date: 8/10/2000
'
' Free to distribute as long as code is not modified, and header is kept intact
'
    Dim intCalc
    Dim strNew
    
    intCalc = 0
    intCalc = CDbl(CDbl(HexToInt(strHex1)) + CDbl(HexToInt(strHex2)))
    Do While CDbl(intCalc) > 2^32
		intCalc = CDbl(intCalc) - 2^32
    Loop
       
    strNew = IntToBinary(CDbl(intCalc))
    Do While Len(strNew) < 32
        strNew = "0" & strNew
    Loop
    strNew = BlockToHex(strNew)
    
    if InStr(strNew, "00") = 1 and len(strNew) = 10 then
		strNew = right(strNew, 8)
    end if
    
    HexAdd = strNew

End Function

Function getHexDec(strHex)
' Function Converts a single hex value into it's decimal equivalent
'
' Written By: Mark Jager
' Written Date: 8/10/2000
'
' Free to distribute as long as code is not modified, and header is kept intact
'
    Select Case strHex
    Case "0"
        getHexDec = 0
    Case "1"
        getHexDec = 1
    Case "2"
        getHexDec = 2
    Case "3"
        getHexDec = 3
    Case "4"
        getHexDec = 4
    Case "5"
        getHexDec = 5
    Case "6"
        getHexDec = 6
    Case "7"
        getHexDec = 7
    Case "8"
        getHexDec = 8
    Case "9"
        getHexDec = 9
    Case "A"
        getHexDec = 10
    Case "B"
        getHexDec = 11
    Case "C"
        getHexDec = 12
    Case "D"
        getHexDec = 13
    Case "E"
        getHexDec = 14
    Case "F"
        getHexDec = 15
    Case Else
        getHexDec = -1
    End Select
End Function

Function getDecHex(strHex)
' Function Converts a single decimal value(0 - 15) into it's hex equivalent
'
' Written By: Mark Jager
' Written Date: 8/10/2000
'
' Free to distribute as long as code is not modified, and header is kept intact
'
    Select Case CInt(strHex)
    Case 0
       getDecHex = "0"
    Case 1
       getDecHex = "1"
    Case 2
       getDecHex = "2"
    Case 3
       getDecHex = "3"
    Case 4
       getDecHex = "4"
    Case 5
       getDecHex = "5"
    Case 6
       getDecHex = "6"
    Case 7
       getDecHex = "7"
    Case 8
       getDecHex = "8"
    Case 9
       getDecHex = "9"
    Case 10
       getDecHex = "A"
    Case 11
       getDecHex = "B"
    Case 12
       getDecHex = "C"
    Case 13
       getDecHex = "D"
    Case 14
       getDecHex = "E"
    Case 15
       getDecHex = "F"
    Case Else
       getDecHex = "Z"
    End Select
End Function

Function BinaryShift(strBinary, intPos)
' Function circular left shifts a binary value n places
'
' Written By: Mark Jager
' Written Date: 8/10/2000
'
' Free to distribute as long as code is not modified, and header is kept intact
'
    BinaryShift = Right(strBinary, Len(strBinary) - cint(intPos)) & _
		Left(strBinary, cint(intPos))

End Function

Function BinaryXOR(strBin1, strBin2)
' Function performs an exclusive or function on each position of two binary values
'
' Written By: Mark Jager
' Written Date: 8/10/2000
'
' Free to distribute as long as code is not modified, and header is kept intact
'
    Dim strBinaryFinal
    Dim intPos
    
    For intPos = 1 To Len(strBin1)
        Select Case Mid(strBin1, cint(intPos), 1)
        
        Case Mid(strBin2, cint(intPos), 1)
            strBinaryFinal = strBinaryFinal & "0"
        Case Else
            strBinaryFinal = strBinaryFinal & "1"
        End Select
    Next
    
    BinaryXOR = strBinaryFinal
    
End Function

Function BinaryOR(strBin1, strBin2)
' Function performs an inclusive or function on each position of two binary values
'
' Written By: Mark Jager
' Written Date: 8/10/2000
'
' Free to distribute as long as code is not modified, and header is kept intact
'
    Dim strBinaryFinal
    Dim intPos
    
    For intPos = 1 To Len(strBin1)
        If Mid(strBin1, cint(intPos), 1) = "1" Or Mid(strBin2, cint(intPos), 1) = "1" Then
            strBinaryFinal = strBinaryFinal & "1"
        Else
            strBinaryFinal = strBinaryFinal & "0"
        End If
    Next
    
    BinaryOR = strBinaryFinal
End Function

Function BinaryAND(strBin1, strBin2)
' Function performs an AND function on each position of two binary values
'
' Written By: Mark Jager
' Written Date: 8/10/2000
'
' Free to distribute as long as code is not modified, and header is kept intact
'
    Dim strBinaryFinal
    Dim intPos
    
    For intPos = 1 To Len(strBin1)
        If Mid(strBin1, cint(intPos), 1) = "1" And Mid(strBin2, cint(intPos), 1) = "1" Then
            strBinaryFinal = strBinaryFinal & "1"
        Else
            strBinaryFinal = strBinaryFinal & "0"
        End If
    Next
    
    BinaryAND = strBinaryFinal
End Function

Function BinaryNOT(strBinary)
' Function makes each position of a binary value from 1 to 0 and 0 to 1
'
' Written By: Mark Jager
' Written Date: 8/10/2000
'
' Free to distribute as long as code is not modified, and header is kept intact
'
    Dim strBinaryFinal
    Dim intPos
    
    For intPos = 1 To Len(strBinary)
        If Mid(strBinary, cint(intPos), 1) = "1" Then
            strBinaryFinal = strBinaryFinal & "0"
        Else
            strBinaryFinal = strBinaryFinal & "1"
        End If
    Next
    
    BinaryNOT = strBinaryFinal
    
End Function

Function HexBlockToBinary(strHex)
' Function Converts a 8 digit/32 bit hex value to its 32 bit binary equivalent
'
' Written By: Mark Jager
' Written Date: 8/10/2000
'
' Free to distribute as long as code is not modified, and header is kept intact
'
    Dim intPos
    Dim strTemp
    
    For intPos = 1 To Len(strHex)
        strTemp = strTemp & HexToBinary(Mid(strHex, cint(intPos), 1))
    Next
    
    HexBlockToBinary = strTemp
    
End Function

%>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品国产三级国产普通话99| 青青草国产成人99久久| 午夜精品123| 成人开心网精品视频| 日韩视频一区二区三区| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆 | 国产婷婷色一区二区三区四区| 亚洲欧美偷拍另类a∨色屁股| 韩国女主播一区| 欧美人狂配大交3d怪物一区| 国产精品传媒入口麻豆| 蜜臀av在线播放一区二区三区| 91美女精品福利| 欧美激情综合在线| 国产一区二区在线看| 91精品国产免费| 亚洲一二三四在线| av在线不卡网| 国产亚洲制服色| 麻豆成人久久精品二区三区红| 在线亚洲一区观看| 一色屋精品亚洲香蕉网站| 国产一区二区中文字幕| 欧美sm美女调教| 美女视频网站黄色亚洲| 欧美一区二区观看视频| 亚洲www啪成人一区二区麻豆 | 国产精品全国免费观看高清 | ww亚洲ww在线观看国产| 偷窥国产亚洲免费视频| 欧美日韩精品系列| 亚洲国产日韩一级| 欧美日韩www| 日本不卡1234视频| 日韩欧美一级精品久久| 麻豆成人免费电影| 久久久久久日产精品| 国产精品夜夜嗨| 国产亚洲1区2区3区| 成人在线视频一区| 亚洲欧洲av在线| 色素色在线综合| 亚洲狠狠爱一区二区三区| 91福利小视频| 午夜精品123| 精品粉嫩aⅴ一区二区三区四区| 九九精品一区二区| 久久精品免费在线观看| 99久久婷婷国产综合精品| 日韩伦理电影网| 欧美性大战久久| 看国产成人h片视频| 久久亚区不卡日本| 91在线视频网址| 亚洲成av人片在线| 精品久久一区二区三区| 成人黄色片在线观看| 亚洲韩国精品一区| 精品精品欲导航| 成人国产精品免费网站| 亚洲一区二区三区四区五区中文| 555www色欧美视频| 国产毛片精品国产一区二区三区| 国产精品久久久久久久久果冻传媒| 99久久精品一区| 久久精品久久久精品美女| 亚洲国产精品v| 欧美年轻男男videosbes| 国产精品一品二品| 亚洲国产精品一区二区尤物区| 欧美zozozo| 91福利精品视频| 国产精品69久久久久水密桃| 亚洲最新视频在线观看| 久久综合久久鬼色| 在线亚洲一区二区| 国产99久久精品| 日本美女一区二区| 椎名由奈av一区二区三区| 日韩视频一区在线观看| 色欧美片视频在线观看在线视频| 久久精品国产亚洲高清剧情介绍 | 欧美zozozo| 色综合视频一区二区三区高清| 免费一区二区视频| 亚洲免费观看高清完整版在线观看| 日韩一区二区免费在线电影| 色婷婷综合五月| 国产成人在线视频网址| 日韩av在线播放中文字幕| 日韩理论片中文av| 国产色一区二区| 2023国产精品自拍| 欧美一区二区人人喊爽| 91久久精品一区二区二区| 成人一级片在线观看| 久久99国产精品尤物| 亚洲国产人成综合网站| 亚洲免费在线电影| 中文字幕色av一区二区三区| 久久久夜色精品亚洲| 欧美成va人片在线观看| 91精品久久久久久久99蜜桃| 色就色 综合激情| 91一区二区三区在线观看| 国产精品一区一区| 国产一本一道久久香蕉| 精品一区二区久久| 九九久久精品视频| 毛片一区二区三区| 蜜桃视频第一区免费观看| 视频一区在线视频| 日韩电影在线一区二区| 日日夜夜精品视频免费| 亚洲一级在线观看| 亚洲午夜激情av| 日日夜夜精品视频免费| 日韩国产欧美在线视频| 青青草国产成人av片免费| 免费看黄色91| 九色|91porny| 国产精品888| 成人黄色片在线观看| 91麻豆免费视频| 在线视频综合导航| 欧美精品日韩精品| 欧美一级黄色录像| 2023国产精品自拍| 中文字幕一区二区三区乱码在线| 亚洲视频在线一区二区| 一二三区精品视频| 日韩精品电影在线观看| 激情六月婷婷久久| 成人免费视频一区| 欧美亚洲自拍偷拍| 欧美大度的电影原声| 国产欧美在线观看一区| 亚洲欧美二区三区| 日本不卡视频在线观看| 国产一区视频网站| 色综合咪咪久久| 日韩一级片在线播放| 国产欧美一区二区精品婷婷| 亚洲欧洲精品一区二区精品久久久| 亚洲色图.com| 日韩av在线发布| 成人黄色一级视频| 欧美日本一区二区三区四区| 久久综合九色综合久久久精品综合| 国产精品午夜电影| 天堂精品中文字幕在线| 国产麻豆视频精品| 在线区一区二视频| 久久久久亚洲综合| 亚洲成av人影院| 成人免费视频网站在线观看| 欧美日韩色一区| 国产调教视频一区| 日日夜夜免费精品| 国产69精品久久777的优势| 欧美在线一二三四区| 国产亚洲精品资源在线26u| 亚洲综合自拍偷拍| 国产精品一级片| 欧美日韩aaaaa| 亚洲欧洲av一区二区三区久久| 日本免费在线视频不卡一不卡二| 97久久超碰精品国产| 2023国产精品| 免费一级欧美片在线观看| 色婷婷精品久久二区二区蜜臂av | 91黄色免费看| 国产精品热久久久久夜色精品三区| 午夜精品一区二区三区电影天堂 | 日韩成人免费在线| 在线观看亚洲精品| 国产精品久久久久一区| 久久国产精品第一页| 欧美日韩一区不卡| 亚洲三级免费观看| 成人一区二区三区视频| 亚洲精品在线三区| 日韩av电影免费观看高清完整版| 91精品福利视频| 日韩一区中文字幕| 成人影视亚洲图片在线| 久久精品夜夜夜夜久久| 久久99精品国产.久久久久| 欧美人牲a欧美精品| 亚洲高清久久久| 在线观看中文字幕不卡| 一区二区三区精品视频| 99综合电影在线视频| 国产精品毛片a∨一区二区三区| 国产在线精品一区二区不卡了 | 欧美日韩综合色| 亚洲激情五月婷婷| 欧美在线你懂得| 亚洲福利视频三区| 欧美日本韩国一区|