当前位置:网站首页>如何将自己的代码作品快速存证,已更好的保护自己劳动成果
如何将自己的代码作品快速存证,已更好的保护自己劳动成果
2022-07-04 23:16:00 【YUJIANYUE】
<?php
/*
功能:
将你源码压缩包文件的几十个hash值都列出来,并将列出内容存证于第三方存证平台比如存哪网。
自己注意同时保存压缩包文件和得到的特征内容到网络私密硬盘比如alioss。
*/
$filez = "./chalide.zip";
$lisa = array();
$lisa["filepath"] = $filez;
$lisa["md5_file"] = md5_file($filez);
$lisa["sha_file"] = sha1_file($filez);
$lisa["filesize"] = filesize($filez);
$liha = hash_algos();
foreach($liha as $limi){
$lisa[$limi] = hash_file($limi,$filez);
}
$filet = "<h3>$filez<h3>";
foreach($lisa as $tp=>$zz){
$filet .= "<p>$tp => $zz</p>\r\n";
}
echo "$filet";
?>边栏推荐
- Redis: redis transactions
- French scholars: the explicability of counter attack under optimal transmission theory
- Pict generate orthogonal test cases tutorial
- Servlet服务器端和客户端中文输出乱码问题
- Redis: redis message publishing and subscription (understand)
- Network namespace
- 高通WLAN框架学习(30)-- 支持双STA的组件
- MP advanced operation: time operation, SQL, querywapper, lambdaquerywapper (condition constructor) quick filter enumeration class
- cout/cerr/clog的区别
- Mit-6.824-lab4b-2022 (10000 word idea explanation - code construction)
猜你喜欢
随机推荐
The difference between cout/cerr/clog
Solution record of jamming when using CAD to move bricks in high configuration notebook
MIT-6.824-lab4B-2022(万字思路讲解-代码构建)
A complete tutorial for getting started with redis: understanding and using APIs
CTF competition problem solution STM32 reverse introduction
Qt个人学习总结
【ODX Studio编辑PDX】-0.2-如何对比Compare两个PDX/ODX文件
Etcd database source code analysis - brief process of processing entry records
头文件重复定义问题解决“C1014错误“
The difference between debug and release
Actual combat simulation │ JWT login authentication
机器学习在房屋价格预测上的应用
[Jianzhi offer] 6-10 questions
The initial arrangement of particles in SPH (solved by two pictures)
debug和release的区别
QT personal learning summary
[ODX studio edit PDX] -0.3- how to delete / modify inherited elements in variant variants
ICML 2022 || 3DLinker: 用于分子链接设计的E(3)等变变分自编码器
Phpcms paid reading function Alipay payment
【二叉树】节点与其祖先之间的最大差值









