clscipherinstance.cls
来自「Rjindeal加密算法」· CLS 代码 · 共 26 行
CLS
26 行
VERSION 1.0 CLASS
BEGIN
MultiUse = -1 'True
END
Attribute VB_Name = "clsCipherInstance"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Option Explicit
Public Mode As CipherModes
Private IV(MAXIVSIZE) As Long
Public Function CipherInit(pMode As CipherModes, pIV As String) As Long
Dim i As Long
Mode = pMode
If Len(pIV) > 0 Then
For i = 0 To (MAXIVSIZE - 8) Step 8
IV(i) = HexStrToLong(Mid(pIV, 1 + i, 8))
Next
Else
Erase IV
End If
End Function
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?