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

軟件首頁(yè) |  文章首頁(yè)
最新更新 軟件分類 設(shè)為首頁(yè) 加入收藏 聯(lián)系我們
當(dāng)前位置:首頁(yè)文章首頁(yè) IT學(xué)院 VB

VB中實(shí)現(xiàn)MD5加密

作者:東坡下載  來(lái)源:uzzf  發(fā)布時(shí)間:2010-10-14 14:28:11  點(diǎn)擊:

'  /* 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加密

文章評(píng)論

欄目導(dǎo)航

本類推薦文章

關(guān)于本站 | 網(wǎng)站幫助 | 廣告合作 | 下載聲明 | 友情連接 | 網(wǎng)站地圖
Copyright © 20098-2010 uzzf下載站. All Rights Reserved .
主站蜘蛛池模板: 亚洲五月激情网 | 日韩欧美亚洲综合久久99e | 最近中文免费字幕8 | 中文字幕一区中文亚洲 | 妞干网精品| 黄网址在线永久免费观看 | 欧美日韩亚洲人人夜夜澡 | 日日操夜夜操狠狠操 | 羞羞视频免费网站含羞草 | 黄页视频免费 | 国产卡1卡2卡三卡在线 | 亚洲精品午夜在线观看 | 久久er热视频在这里精品 | 天天操天天爱天天干 | 亚洲在成人网在线看 | 日韩一级一欧美一级国产 | 天天曰天天干 | 亚洲一卡二卡在线 | 免费视频a| 久久久无码精品亚洲日韩按摩 | 我要看黄色特级黄色录像 | 成年人视频在线 | 星空影院免费观看韩国三集 | 手机看片日韩国产一区二区 | 污污视频网站免费 | 啪啪网页 | 国产一级片网址 | 日韩黄色在线播放 | 国内一区二区三区精品视频 | 午夜网站视频 | 五月综合激情 | 性欧美xxx 不卡视频 | 成人影视频 | 三级国产精品一区二区 | 精品一区二区三区在线视频观看 | 日本香蕉视频在线观看 | 成人狠狠色综合 | 日韩高清伦理片中字在线观看 | 透明奶罩的邻居三级在线观看 | 国产欧美日韩第一页 | 国产黑丝袜在线 |