⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 使用说明.txt

📁 加密解密组建支持RC4
💻 TXT
字号:
把dll放在你应用程序目录或者系统目录中。


1、c#中解密RC4加密文件调用方法

//RC4文件解密
//rsfile:源文件路径,outfile:解密文件路径,pwd:密码

[DllImport("DMSecurity")]
public static extern bool DecryptRC4File(string rsfile,string outfile,string pwd);

//RC4文件加密
//rsfile:源文件路径,outfile:加密文件路径,pwd:密码

[DllImport("DMSecurity")]
public static extern bool EncryptRC4File(string rsfile,string outfile,string pwd);

2、VB下调用

'RC4文件加密
'rsfile:源文件路径,outfile:加密文件路径,pwd:密码
Private Declare Function EncryptRC4File Lib "DMSecurity" (ByVal rsfile As String, ByVal outfile As String, ByVal pwd As String) As Boolean
'RC4文件解密
'rsfile:源文件路径,outfile:解密文件路径,pwd:密码
Private Declare Function DecryptRC4File Lib "DMSecurity" (ByVal rsfile As String, ByVal outfile As String, ByVal pwd As String) As Boolean

'MD5加密,加密后字母是小写,转换成大写保存,.Net中的MD5加密都是大写的
'str:需要加密的字符串
Private Declare Function MD5String Lib "DMSecurity" (ByVal str as String) as String

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -