Home | Mirror | SearchITEYE 博客 | OSChina 博客 | 51CTO 博客

Chapter 8. SHA 專題

Table of Contents

8.1. sha1sum
8.2. PHP sha1()
8.3. Java SHA
8.4. Perl

8.1. sha1sum

		
$ sha1sum /etc/passwd
c144c5cc8d5d3b90ad74a1dcf6af9e6c935e2a2a  /etc/passwd

$ sha1sum about/*
905a26de0f2fd6fcb53bf8db75d76c538d094237  about/index.html
d0aeb4409808b6afded0522964bed6b795d30fc0  about/index.tpl

$ sha1sum about/* > about.sha1
$ cat about.sha1
905a26de0f2fd6fcb53bf8db75d76c538d094237  about/index.html
d0aeb4409808b6afded0522964bed6b795d30fc0  about/index.tpl

$ sha1sum -c about.sha1
about/index.html: OK
about/index.tpl: OK

		
		
comments powered by Disqus