ACTIVITY: BASIC HASHING OF FILES IN *NIX SYSTEMS
This activity is ungraded
Time: This activity should take approximately 20 minutes
SOFTWARE
Windows: hashcalc (www.slavasoft.com/hashcalc/)Linux/Unix: md5sum and shasumMac: md5 and shasum
GOAL
In this activity, we will perform basic hashing of files, and examine how changes affect file hashes.
You may want to review the hash demonstration in Data Preservation before beginning this activity.
INSTRUCTIONS
Create or select a text file with some information in it.Calculate and record the hash value of your text fileMake the following changes to your text file and calculate the hash value after each change:
Change one characterChange the filename, mv myText aNewNameChange one of the rwx permissions (using chmod), for example chmod g+w yourTextCreate a symlink to your text file, and calculate the hash of you symlink, for example, ln –s yourText
转载于:https://www.cnblogs.com/sec875/articles/10013385.html
相关资源:微信小程序源码-合集4.rar