go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Examples
 
Subject: Examples
Author: X509
In response to: Comparison od SHA fucntions
Posted on: 07/07/2010 02:47:16 PM

160 bits output of SHA-1 of message:

SHA1("The quick brown fox jumps over the lazy dog")
= 2fd4e1c6 7a2d28fc ed849ee1 bb76e739 1b93eb12



A small change in the message leading to a completely different hash:

SHA1("The quick brown fox jumps over the lazy cog")
= de9f2c7f d25e1b3a fad3e85a 0bd17d9b 100db4b3


 

> On 07/07/2010 02:40:51 PM X509 wrote:




Algorithm + Output size + Internal state size + Block size + Max message size + Word size 
               (bits)            (bits)             (bits)        (bits)           (bits)

  SHA-0         160               160                 512         2^64 − 1           32 

  SHA-1         160               160                 512         2^64 − 1           32 

  SHA-2:
  SHA-224       224               256                 512         2^64 − 1           32 
  SHA-256       256               256                 512         2^64 − 1           32 
  SHA-384       384               512                1024        2^128 − 1           64 
  SHA-512       512               512                1024        2^128 − 1           64 







References:

 


 
Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.