go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  More Examples
 
Subject: More Examples
Author: X509
In response to: Examples
Posted on: 07/08/2010 02:18:37 PM



MD5 --> (128bits/16bytes)

MD5("The quick brown fox jumps over the lazy dog")
= 9e107d9d 372bb682 6bd81d35 42a419d6


SHA-1 --> (160bits/20bytes)
SHA-1("The quick brown fox jumps over the lazy dog")
= 2fd4e1c6 7a2d28fc ed849ee1 bb76e739 1b93eb12


SHA-256 --> (256bits/32bytes)
SHA-256("The quick brown fox jumps over the lazy dog")
= d7a8fbb3 07d78094 69ca9abc b0082e4f 8d5651e4
  6d3cdb76 2d02d0bf 37c9e592


SHA-384--> (384bits/48bytes)
SHA-384("The quick brown fox jumps over the lazy dog")
= ca737f10 14a48f4c 0b6dd43c b177b0af d9e51693 
  67544c49 4011e331 7dbf9a50 9cb1e5dc 1e85a941
  bbee3d7f 2afbc9b1


SHA-512--> (512bits/64bytes)
SHA-512("The quick brown fox jumps over the lazy dog")
= 07e547d9 586f6a73 f73fbac0 435ed769 51218fb7
  d0c8d788 a309d785 436bbb64 2e93a252 a954f239
  12547d1e 8a3b5ed6 e1bfd709 7821233f a0538f3d
  b854fee6



 

> On 07/07/2010 02:47:16 PM X509 wrote:

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





References:

 


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