sha256 a md5 vracaju rozne hodnoty
Jan Kulveit
jk-freebsdcz at ks.cz
Wed Feb 15 00:20:45 CET 2006
On Tue, Feb 14, 2006 at 09:24:36PM +0100, Daniel Gerzo wrote:
...
> total 9632
> -rw-r--r-- 1 root users 9839086 Feb 14 21:18 perl-5.8.7.tar.bz2
> root@[bigbang /usr/home/danger]# sha256 < perl-5.8.7.tar.bz2
> cabf8f474df8da0895b342f7d465418321bae2396e0baea410b8202f10d8d2ad
> root@[bigbang /usr/home/danger]# sha256 < perl-5.8.7.tar.bz2
> 1e5c89322a4945b98d030d4e492fc916af441303564fd60bfaf1a50ab0c4c6f0
> root@[bigbang /usr/home/danger]# sha256 < perl-5.8.7.tar.bz2
> 59351d048e6e19e0fe24c6a1596d0e0d5135476c9dc1ea979bbbd3088e1d5c13
> root@[bigbang /usr/home/danger]# cp perl-5.8.7.tar.bz2 a
> root@[bigbang /usr/home/danger]# cp perl-5.8.7.tar.bz2 b
> root@[bigbang /usr/home/danger]# cp perl-5.8.7.tar.bz2 c
> root@[bigbang /usr/home/danger]# diff -ruN perl-5.8.7.tar.bz2 a
> root@[bigbang /usr/home/danger]# diff -ruN perl-5.8.7.tar.bz2 b
> root@[bigbang /usr/home/danger]# diff -ruN perl-5.8.7.tar.bz2 c
> root@[bigbang /usr/home/danger]# diff -ruN a b
> root@[bigbang /usr/home/danger]# diff -ruN a c
> root@[bigbang /usr/home/danger]# diff -ruN b c
> root@[bigbang /usr/home/danger]# sha256 < a
> a020114178036dd29576c402999e354f4432217521375538d99a2790b51f4baf
> root@[bigbang /usr/home/danger]# sha256 < a
> 7662820f440fa2c757f0267481ba07f1db3d8e84c1e22885810d310d885302dd
> root@[bigbang /usr/home/danger]# sha256 < b
> aa051b0043057bf33f8a9788dba5b9f5d47d21fcda7f377e54291b93bc6b5980
> root@[bigbang /usr/home/danger]# sha256 < b
> cd6fe9118e292d167e527bc86b46a877e76fa006d123fc893006976529b6c906
> root@[bigbang /usr/home/danger]# sha256 < c
> 3c08104c4760adfa7d83eeaacbec40f71246e3017a418bff3fea4548bedfbfce
> root@[bigbang /usr/home/danger]# sha256 < c
> a28776343645461efc9be370cf9e56ca3abd018f53141824af14507abef5b625
>
jeste bych navrhoval zkusit
dd if=/dev/zero count=200000 |sha256
a nebo lepe
mkfifo /tmp/pipe1
mkfifo /tmp/pipe2
dd if=/dev/random count=1000000 | tee /tmp/pipe1 > /tmp/pipe2
Honza
More information about the Users-l
mailing list