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

軟件首頁 |  文章首頁
最新更新 軟件分類 設為首頁 加入收藏 聯系我們
當前位置:首頁文章首頁 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 .
主站蜘蛛池模板: 成年男女免费视频网站 | 亚洲一区二区三区高清 不卡 | 目韩一区二区三区系列片丶 | 插菊网| 欧美成人午夜做受视频 | 7777sq国产精品 | 99成人在线观看 | 久久久亚洲欧洲日产国码二区 | 在线观看色 | 婷婷在线观看视频 | 久久久久久久久网站 | 日韩在线激情 | 成年人羞羞视频 | 激情免费网站 | 亚洲伊人久久综合一区二区 | 欧美性video 欧美性video高清精品 | 欧美极品欧美精品欧美视频 | 亚洲影视一区二区 | 夜夜狠| 国产亚洲青色国产 | 一级做a爱片在线播放 | 亚洲欧美综合在线观看 | 日本aⅴ视频 | 在线播放a 1 | 成人18免费网站在线观看 | 丰满寡妇一级毛片 | 日本高清一本二本三本如色坊 | 夜夜躁日日躁 | 一级片视频免费 | 亚洲国产精久久久久久久 | 日本天堂在线 | 一级国产在线观看高清 | 在线观看免费亚洲 | 免费特黄一级欧美大片在线看 | 欧美大陆日韩 | 亚洲欧美h| 黄色短视频网站 | 成人在线观看视频网站 | 先锋三级 | 手机午夜视频 | 91国自产精品中文字幕亚洲 |