当前位置:网站首页>如何将自己的代码作品快速存证,已更好的保护自己劳动成果
如何将自己的代码作品快速存证,已更好的保护自己劳动成果
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";
?>边栏推荐
猜你喜欢

cout/cerr/clog的区别

qt绘制网络拓补图(连接数据库,递归函数,无限绘制,可拖动节点)

实战模拟│JWT 登录认证

ICML 2022 || 3DLinker: 用于分子链接设计的E(3)等变变分自编码器

Redis:Redis消息的发布与订阅(了解)

VIM editor knowledge summary

JS card style countdown days

The small program vant tab component solves the problem of too much text and incomplete display

A mining of edu certificate station

Combien de temps faut - il pour obtenir un certificat PMP?
随机推荐
After Microsoft disables the IE browser, open the IE browser to flash back the solution
The initial trial is the cross device model upgrade version of Ruijie switch (taking rg-s2952g-e as an example)
Editplus-- usage -- shortcut key / configuration / background color / font size
蓝天NH55系列笔记本内存读写速度奇慢解决过程记录
[crawler] XPath for data extraction
qt绘制网络拓补图(连接数据库,递归函数,无限绘制,可拖动节点)
S32 Design Studio for ARM 2.2 快速入门
45 year old professor, she threw two super unicorns
OSEK标准ISO_17356汇总介绍
UML diagram memory skills
Solution record of jamming when using CAD to move bricks in high configuration notebook
【ODX Studio编辑PDX】-0.2-如何对比Compare两个PDX/ODX文件
[odx Studio Edit pdx] - 0.2 - Comment comparer deux fichiers pdx / odx
CTF competition problem solution STM32 reverse introduction
The difference between cout/cerr/clog
企业里Win10 开启BitLocker锁定磁盘,如何备份系统,当系统出现问题又如何恢复,快速恢复又兼顾系统安全(远程设备篇)
【taichi】用最少的修改将太极的pbf2d(基于位置的流体模拟)改为pbf3d
为什么信息图会帮助你的SEO
字体设计符号组合多功能微信小程序源码
Blue sky nh55 series notebook memory reading and writing speed is extremely slow, solution process record