jieweiwei / md5 Goto Github PK
View Code? Open in Web Editor NEW用C++实现md5加密算法
License: Apache License 2.0
用C++实现md5加密算法
License: Apache License 2.0
第一次调用结果为b8542eca05ca0f2042a48179bada006b,后面调用为9378351b56c3f4f645a1e28571f3f3b8,求MD5字符串为:{"msg": "", "code": 200, "data": {"scan_policy": {"rules": [{"sensitive_level": 3, "rule_info": "\u626b\u63cf\u5408\u540c\u6587\u4ef6", "tags": ["\u5408\u540c", "\u5546\u4e1a\u79d8\u5bc6"], "rule_name": "dlp_file_scan_rule_001", "filters": {"must": [], "connect_type": "and", "should": [{"field": "file_content", "params": [{"key": "language", "value": "cn"}, {"key": "int_min_match", "value": "3"}], "method": "aho_corasick", "value": ["\u5408\u540c", "\u4f17\u5b89\u79d1\u6280", "\u4f17\u5b89\u4fdd\u9669", "\u91d1\u989d"], "tags": ["\u4e2d\u6587\u5408\u540c"]}, {"field": "file_content", "params": [{"key": "language", "value": "en"}, {"key": "int_min_match", "value": "3"}], "method": "aho_corasick", "value": ["contract", "zhongan", "amount"], "tags": ["\u82f1\u6587\u5408\u540c"]}, {"field": "file_name", "params": [{"key": "language", "value": "en"}, {"key": "int_min_match", "value": "1"}], "method": "contains", "value": ["\u5408\u540c", "contracts"], "tags": ["\u6587\u4ef6\u540d\u5305\u542b\u5408\u540c"]}]}, "fileTypes": ["doc", "docx", "ppt", "pptx"], "rule_id": 1}, {"sensitive_level": 4, "rule_info": "\u5305\u542b\u7528\u6237\u8eab\u4efd\u654f\u611f\u4fe1\u606f\u7684\u6587\u4ef6", "tags": ["\u624b\u673a\u53f7", "\u94f6\u884c\u5361\u53f7", "\u8eab\u4efd\u8bc1", "\u90ae\u7bb1"], "rule_name": "dlp_file_scan_rule_002", "filters": {"must": [{"field": "file_content", "params": [{"key": "language", "value": "cn"}, {"key": "int_min_match", "value": "2"}], "method": "user_info", "value": ["bank_card", "id_number", "email", "phone"], "tags": []}], "connect_type": "and", "should": []}, "fileTypes": ["doc", "docx", "ppt", "pptx", "xls", "xlsx"], "rule_id": 2}, {"sensitive_level": 2, "rule_info": "\u7b80\u5386\u6587\u4ef6", "tags": ["\u7b80\u5386"], "rule_name": "dlp_file_scan_rule_003", "filters": {"must": [], "connect_type": "and", "should": [{"field": "file_simhash", "params": [{"key": "language", "value": "cn"}, {"key": "int_distance", "value": "3"}], "method": "simhash_distance", "value": ["2200560496555275593"], "tags": ["\u730e\u8058\u7b80\u5386"]}, {"field": "file_simhash", "params": [{"key": "language", "value": "cn"}, {"key": "int_distance", "value": "3"}], "method": "simhash_distance", "value": ["2200560496555275593"], "tags": ["51job\u7b80\u5386"]}]}, "fileTypes": ["doc", "docx", "ppt", "pptx", "xls", "xlsx"], "rule_id": 3}, {"sensitive_level": 4, "rule_info": "\u6b63\u5219\u5339\u914d\u89c4\u5219\u793a\u4f8b,\u5339\u914d\u542b\u6709AK\u7684\u6587\u4ef6", "tags": ["AK"], "rule_name": "dlp_file_scan_rule_004", "filters": {"must": [{"field": "file_content", "params": [{"key": "int_min_match", "value": "3"}], "method": "regex", "value": ["QUt8QWt8YWt8YUs="], "tags": ["\u5bc6\u94a5\u4fe1\u606f"]}], "connect_type": "and", "should": []}, "fileTypes": ["doc", "docx", "ppt", "pptx", "xls", "xlsx"], "rule_id": 4}], "rules_version": 1, "enable": true, "threads": 3, "performance_limits": {"max_cpu": 10, "max_mem": 20}}, "acl_policy": {"usb_acl": {"default_action": "notify", "device_list": [{"vid": "vid", "pid": "", "sn": "", "aciton": "notify"}, {"vid": "0B95", "pid": "1790", "sn": "000000000009A7", "aciton": "permit"}, {"vid": "vid", "pid": "", "sn": "", "aciton": "deny"}]}}, "tracking_policy": {"screen": {"text": {"endpoint_info": {"color": "#ff0000", "enable": true, "type": 1, "transparency": 123, "size": 16}, "title": {"color": "#ff0000", "enable": false, "value": "\u4f17\u5b89\u79d1\u6280", "transparency": 123, "size": 26}}, "dot": {"color": "#ff0000", "distance": 20, "enable": true, "radius": 2, "transparency": 255}}}, "defense_policy": {"enable": true, "upload_defence": {"threshold": [1, 3], "processes": ["chrome.exe", "WeChat.exe", "WXWork.exe", "QQ.exe", "notepad.exe"], "enable": true}, "paste_defence": {"rules": [{"sensitive_level": 3, "rule_info": "\u5305\u542b\u7528\u6237\u4fe1\u606f\u7684\u7c98\u8d34\u5185\u5bb9", "tags": ["\u7528\u6237\u4fe1\u606f"], "rule_name": "pause_content_scan_rule1", "filters": {"must": [{"field": "file_content", "params": [{"key": "language", "value": "cn"}, {"key": "int_min_match", "value": "2"}], "method": "user_info", "value": ["bank_card", "id_number", "email", "phone"], "tags": []}], "connect_type": "and", "should": []}, "rule_id": 1}, {"sensitive_level": 3, "rule_info": "\u5305\u542bAK\u4fe1\u606f\u7684\u7c98\u8d34\u5185\u5bb9", "tags": ["AK"], "rule_name": "pause_content_scan_rule2", "filters": {"must": [{"field": "file_content", "params": [{"key": "int_min_match", "value": "3"}], "method": "regex", "value": ["QUt8QWt8YWt8YUs="], "tags": ["AK\u5bc6\u94a5"]}], "connect_type": "and", "should": []}, "rule_id": 2}], "threshold": [1, 3], "processes": ["chrome.exe", "WeChat.exe", "QQ.exe", "notepad.exe"], "enable": true}, "file_copy_defence": {"threshold": [1, 3], "enable": true}, "file_print_defence": {"threshold": [1, 3], "enable": true}}}}
你好,如题。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.