如题
变量名 | 类 型 | 静态 | 数组 | 备 注 | DES | DES | | | 加密数据 | 字节集 | | | 长度 | 整数型 | | |
加密数据 = 到字节集 (数据 )长度 = 取字节集长度 (加密数据 )如果真 (长度 % 8 ≠ 0 )加密数据 = 加密数据 + 取空白字节集 (8 - 长度 % 8 )加密数据 = DES.encrypt_byte_ecb_nopadding (加密数据, 到字节集 (密匙))调试输出 (编码_BASE64编码 (加密数据 )) 返回 (Byte2Hex (加密数据 )) 变量名 | 类 型 | 静态 | 数组 | 备 注 | DES | DES | | | 返回 | 字节集 | | |
返回 = DES. decrypt_byte_ecb_nopadding (Hex2Byte_ (数据 ), 到字节集 (密匙 )) 返回 (Encode (返回 )) 变量名 | 类 型 | 静态 | 数组 | 备 注 | 变量1 | 整数型 | | | 变量2 | 文本型 | | | 置入代码 ({ 139, 93, 8, 139, 27, 137, 93, 244, 131, 125, 244, 0, 15, 132, 116, 2, 0, 0, 139, 91, 4, 137, 93, 248, 209, 101, 248 })变量2 = 取空白文本 (变量1 )置入代码 ({ 139, 248, 139, 117, 8, 139, 54, 131, 198, 8, 232, 0, 0, 0, 0, 91, 131, 195, 9, 233, 0, 2, 0, 0, 48, 48, 48, 49, 48, 50, 48, 51, 48, 52, 48, 53, 48, 54, 48, 55, 48, 56, 48, 57, 48, 65, 48, 66, 48, 67, 48, 68, 48, 69, 48, 70, 49, 48, 49, 49, 49, 50, 49, 51, 49, 52, 49, 53, 49, 54, 49, 55, 49, 56, 49, 57, 49, 65, 49, 66, 49, 67, 49, 68, 49, 69, 49, 70, 50, 48, 50, 49, 50, 50, 50, 51, 50, 52, 50, 53, 50, 54, 50, 55, 50, 56, 50, 57, 50, 65, 50, 66, 50, 67, 50, 68, 50, 69, 50, 70, 51, 48, 51, 49, 51, 50, 51, 51, 51, 52, 51, 53, 51, 54, 51, 55, 51, 56, 51, 57, 51, 65, 51, 66, 51, 67, 51, 68, 51, 69, 51, 70, 52, 48, 52, 49, 52, 50, 52, 51, 52, 52, 52, 53, 52, 54, 52, 55, 52, 56, 52, 57, 52, 65, 52, 66, 52, 67, 52, 68, 52, 69, 52, 70, 53, 48, 53, 49, 53, 50, 53, 51, 53, 52, 53, 53, 53, 54, 53, 55, 53, 56, 53, 57, 53, 65, 53, 66, 53, 67, 53, 68, 53, 69, 53, 70, 54, 48, 54, 49, 54, 50, 54, 51, 54, 52, 54, 53, 54, 54, 54, 55, 54, 56, 54, 57, 54, 65, 54, 66, 54, 67, 54, 68, 54, 69, 54, 70, 55, 48, 55, 49, 55, 50, 55, 51, 55, 52, 55, 53, 55, 54, 55, 55, 55, 56, 55, 57, 55, 65, 55, 66, 55, 67, 55, 68, 55, 69, 55, 70, 56, 48, 56, 49, 56, 50, 56, 51, 56, 52, 56, 53, 56, 54, 56, 55, 56, 56, 56, 57, 56, 65, 56, 66, 56, 67, 56, 68, 56, 69, 56, 70, 57, 48, 57, 49, 57, 50, 57, 51, 57, 52, 57, 53, 57, 54, 57, 55, 57, 56, 57, 57, 57, 65, 57, 66, 57, 67, 57, 68, 57, 69, 57, 70, 65, 48, 65, 49, 65, 50, 65, 51, 65, 52, 65, 53, 65, 54, 65, 55, 65, 56, 65, 57, 65, 65, 65, 66, 65, 67, 65, 68, 65, 69, 65, 70, 66, 48, 66, 49, 66, 50, 66, 51, 66, 52, 66, 53, 66, 54, 66, 55, 66, 56, 66, 57, 66, 65, 66, 66, 66, 67, 66, 68, 66, 69, 66, 70, 67, 48, 67, 49, 67, 50, 67, 51, 67, 52, 67, 53, 67, 54, 67, 55, 67, 56, 67, 57, 67, 65, 67, 66, 67, 67, 67, 68, 67, 69, 67, 70, 68, 48, 68, 49, 68, 50, 68, 51, 68, 52, 68, 53, 68, 54, 68, 55, 68, 56, 68, 57, 68, 65, 68, 66, 68, 67, 68, 68, 68, 69, 68, 70, 69, 48, 69, 49, 69, 50, 69, 51, 69, 52, 69, 53, 69, 54, 69, 55, 69, 56, 69, 57, 69, 65, 69, 66, 69, 67, 69, 68, 69, 69, 69, 70, 70, 48, 70, 49, 70, 50, 70, 51, 70, 52, 70, 53, 70, 54, 70, 55, 70, 56, 70, 57, 70, 65, 70, 66, 70, 67, 70, 68, 70, 69, 70, 70, 209, 109, 248, 139, 77, 248, 3, 206, 51, 192, 138, 6, 70, 209, 224, 102, 139, 20, 24, 102, 137, 23, 71, 71, 59, 241, 124, 236 })返回 (变量2 )变量名 | 类 型 | 静态 | 数组 | 备 注 | 变量1 | 整数型 | | | 变量2 | 字节集 | | | 置入代码 ({ 139, 125, 8, 139, 63, 137, 125, 244, 131, 125, 244, 0, 15, 133, 31, 0, 0, 0, 139, 69, 252, 133, 192, 116, 19, 80, 139, 64, 4, 131, 192, 8, 80, 232, 184, 2, 0, 0, 89, 94, 139, 248, 243, 164, 233, 26, 1, 0, 0, 131, 201, 255, 51, 192, 242, 174, 247, 209, 73, 209, 233, 137, 77, 248, 131, 125, 248, 1, 15, 141, 4, 0, 0, 0, 201, 194, 4, 0, 139, 117, 8, 139, 54 })变量2 = 取空白字节集 (变量1 )置入代码 ({ 131, 192, 8, 139, 248, 209, 101, 248, 139, 77, 248, 232, 0, 0, 0, 0, 91, 131, 195, 6, 235, 103, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 0, 0, 0, 0, 0, 0, 10, 11, 12, 13, 14, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 11, 12, 13, 14, 15, 3, 206, 51, 192, 102, 139, 6, 70, 70, 80, 37, 255, 0, 0, 0, 138, 52, 24, 88, 193, 232, 8, 138, 20, 24, 192, 230, 4, 8, 242, 136, 23, 71, 59, 241, 124, 223 })返回 (变量2 )|
Encode | 文本型 | | |
参数1 | 字节集 | | | | 参数2 | 文本型 | | | | 参数3 | 文本型 | | | | 参数4 | 字节集 | | | |
变量名 | 类 型 | 静态 | 数组 | 备 注 | 变量1 | 对象 | | | 变量2 | 文本型 | | | 变量3 | 字节集 | | | 变量4 | 变体型 | | | CoInitialize (0 )如果真 (参数2 = “”)参数2 = “utf-8”变量1.创建 (“Adodb.Stream”, )变量1. 写属性 (“Type”, 1 )变量1. 方法 (“Open”, )变量4. 置类型 (7 )变量4. 创建数组 (1, 取字节集长度 (参数1 )) 变量4. 赋值 (参数1, )变量1. 方法 (“Write”, 变量4 )变量1. 写属性 (“Position”, 0 )变量1. 写属性 (“Type”, 2 )变量1. 写属性 (“Charset”, 参数2 )变量2 = 变量1. 文本方法 (“ReadText”, )变量1. 方法 (“Close”, )如果真 (是否为空 (参数3 ) = 假)变量1. 方法 (“Open”, )变量1. 写属性 (“Charset”, 参数3 )变量1. 方法 (“WriteText”, 变量2 )变量1. 写属性 (“Position”, 0 )变量1. 写属性 (“Type”, 1 )变量1. 写属性 (“Position”, 0 )变量3 = 变量1. 通用方法 (“Read”, ). 取字节集 ()判断 (到大写 (参数3 ) ≈ “UTF-8”)参数4 = 取字节集右边 (变量3, 取字节集长度 (变量3 ) - 3 )参数4 = 取字节集右边 (变量3, 取字节集长度 (变量3 )) 变量2 = 到文本 (参数4)参数4 = 参数4 + { 0 }变量1. 方法 (“Close”, )CoUninitialize ()返回 (变量2 )
|