变态重口极致另类在线-波多久久夜色精品国产-波多野结衣在线观看一区-波多野结衣在线观看一区二区-污污的网站免费阅读-污污视频网址

軟件首頁 |  文章首頁
最新更新 軟件分類 設為首頁 加入收藏 聯系我們
當前位置:首頁文章首頁 IT學院 VB

VB中實現MD5加密

作者:東坡下載  來源:uzzf  發布時間:2010-10-14 14:28:11  點擊:

'  /* Zeroize sensitive information.
'*/
'  MD5_memset ((POINTER)x, 0, sizeof (x));
   
End Sub

Private Sub Decode(Length As Integer, OutputBuffer() As Long, InputBuffer() As Byte)
    Dim intDblIndex As Integer
    Dim intByteIndex As Integer
    Dim dblSum As Double
   
    intDblIndex = 0
    For intByteIndex = 0 To Length - 1 Step 4
        dblSum = InputBuffer(intByteIndex) + _
                                    InputBuffer(intByteIndex + 1) * 256# + _
                                    InputBuffer(intByteIndex + 2) * 65536# + _
                                    InputBuffer(intByteIndex + 3) * 16777216#
        OutputBuffer(intDblIndex) = UnsignedToLong(dblSum)
        intDblIndex = intDblIndex + 1
    Next intByteIndex
End Sub

'
' FF, GG, HH, and II transformations for rounds 1, 2, 3, and 4.
' Rotation is separate from addition to prevent recomputation.
'
Private Function FF(a As Long, _
                    b As Long, _
                    c As Long, _
                    d As Long, _
                    x As Long, _
                    s As Long, _
                    ac As Long) As Long
    a = LongOverflowAdd4(a, (b And c) Or (Not (b) And d), x, ac)
    a = LongLeftRotate(a, s)
    a = LongOverflowAdd(a, b)
End Function

Private Function GG(a As Long, _
                    b As Long, _
                    c As Long, _
                    d As Long, _
                    x As Long, _
                    s As Long, _
                    ac As Long) As Long
    a = LongOverflowAdd4(a, (b And d) Or (c And Not (d)), x, ac)
    a = LongLeftRotate(a, s)
    a = LongOverflowAdd(a, b)
End Function

Private Function HH(a As Long, _
                    b As Long, _
                    c As Long, _
                    d As Long, _
                    x As Long, _
                    s As Long, _
                    ac As Long) As Long
    a = LongOverflowAdd4(a, b Xor c Xor d, x, ac)
    a = LongLeftRotate(a, s)
    a = LongOverflowAdd(a, b)
End Function

Private Function II(a As Long, _
                    b As Long, _
                    c As Long, _
                    d As Long, _
                    x As Long, _
                    s As Long, _
                    ac As Long) As Long
    a = LongOverflowAdd4(a, c Xor (b Or Not (d)), x, ac)
    a = LongLeftRotate(a, s)
    a = LongOverflowAdd(a, b)
End Function

Tags:

VBMD5加密
首頁 上一頁 [2] [3] [4] [5]  下一頁 尾頁

文章評論

本類推薦文章

關于本站 | 網站幫助 | 廣告合作 | 下載聲明 | 友情連接 | 網站地圖
Copyright © 20098-2010 uzzf下載站. All Rights Reserved .
主站蜘蛛池模板: 福利在线网站 | 亚洲视频在线看 | a大片大片网y | 国产欧美日韩在线一区二区不卡 | 怡春院综合 | 亚洲国产成+人+综合 | 好男人www社区视频在线 | 国产一级一片免费播放视频 | 99精品在线播放 | 最近免费字幕中文大全在线观看 | 成人免费视频无遮挡在线看 | 日韩爽爽视频爽爽 | 午夜视频福利在线 | 久久久网站亚洲第一 | 成人毛片在线 | 一级黄色免费观看 | 欧美精品不卡 | 国产视频97| 看全色黄大色黄大片色责看的 | 狠狠干狠狠色 | 日本不卡二区 | 亚洲免费在线播放 | 国产一区二区三区免费 | 一区二区三区国产精品 | 国产又湿又黄又硬又刺激 | 亚洲女视频 | 99成人免费视频 | 欧美激情一区二区三区免费观看 | 黑人精品videossex黑人 | 成人影片在线播放 | 日韩精品在线看 | 色博影院| 日韩在线二区全免费 | 视频一区二区在线播放 | 欧美精品一区二区三区免费观看 | 久草手机在线观看 | 欧美一区二区三区免费不卡 | 综合成人 | 国产精品页| 最近日本中文字幕免费完整 | 五月天丁香婷婷开心激情五月 |