1/1

|
SHA CORE
by kaarthic87 on Aug 21, 2010 |
kaarthic87
Posts: 1 Joined: Sep 18, 2009 Last seen: Aug 21, 2010 |
||
|
Can anyone explain how to make the sha code work for any other input text other than the default one which is "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu"
I am getting the correct digest for this input alone. If I change the input to "abc" and the Padding bits(1bit with 1, 871 bits as 0's and 128 bit representation of the length 24) accordingly. I dont get the correct digest. Someone throw some light on this issue
test_sha512.v (7 kb)
|
|||
1/1

