Bitcoin Forum
December 05, 2016, 08:45:44 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Where can I find...  (Read 645 times)
Dexter770221
Legendary
*
Offline Offline

Activity: 1026


View Profile
August 15, 2011, 09:02:05 AM
 #1

...exact description of one SHA256 round. I've found some algorithms but that doesn't helped me. Maybe you will know where to look. Step by step description would be best...
TIA.

Under development Modular UPGRADEABLE Miner (MUM). Looking for investors.
Changing one PCB with screwdriver and you have brand new miner in hand... Plug&Play, scalable from one module to thousands.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480970744
Hero Member
*
Offline Offline

Posts: 1480970744

View Profile Personal Message (Offline)

Ignore
1480970744
Reply with quote  #2

1480970744
Report to moderator
1480970744
Hero Member
*
Offline Offline

Posts: 1480970744

View Profile Personal Message (Offline)

Ignore
1480970744
Reply with quote  #2

1480970744
Report to moderator
1480970744
Hero Member
*
Offline Offline

Posts: 1480970744

View Profile Personal Message (Offline)

Ignore
1480970744
Reply with quote  #2

1480970744
Report to moderator
PLaci1982
Full Member
***
Offline Offline

Activity: 168


Live long and prosper. \\//,


View Profile
August 15, 2011, 09:26:33 AM
 #2

Wikipedia are your friend, use it! Smiley

http://en.wikipedia.org/wiki/SHA-2

Hardware Expert / WinXP, Win7 Expert

1J5oPkyGVdb4mv44KGZQYsHS2ch6e1t4rc
Dexter770221
Legendary
*
Offline Offline

Activity: 1026


View Profile
August 15, 2011, 10:54:49 AM
 #3

Well, I've looked at that before. And it didn't helped me. Things get even more complicated to me Wink

Under development Modular UPGRADEABLE Miner (MUM). Looking for investors.
Changing one PCB with screwdriver and you have brand new miner in hand... Plug&Play, scalable from one module to thousands.
JoelKatz
Legendary
*
Offline Offline

Activity: 1386


Democracy is vulnerable to a 51% attack.


View Profile WWW
August 15, 2011, 12:46:45 PM
 #4

Middle of that page, middle of the pseudo-code, starting from "Initialize hash value for this chunk" and going on until "Add this chunk's result to the hash so far". Basically, it just does a bunch of bitwise operations to 'mash' all the data into the running hash total.

I am an employee of Ripple.
1Joe1Katzci1rFcsr9HH7SLuHVnDy2aihZ BM-NBM3FRExVJSJJamV9ccgyWvQfratUHgN
Dexter770221
Legendary
*
Offline Offline

Activity: 1026


View Profile
August 15, 2011, 05:09:01 PM
 #5

After 3 cups of cofee and few hours of looking I think that finally I'm getting to understand that algorithm. Correct me if I'm wrong.
A to H are 32bit variables with 0h00000000 value at the begining. Wt and Kt are input values (data and nonce in terms of bitcoin?) After all operations (Ch function, Ma function, sigmas, modulo additions) result is moved to variable A and rest of them are moved one position. This happens 64 times and result of SHA256 operation is in A to H registers. Only unknown to me is that strange operand in Ch function (before second E). Is it NOT operand? Its not listed in table beneth.
TIA.

Under development Modular UPGRADEABLE Miner (MUM). Looking for investors.
Changing one PCB with screwdriver and you have brand new miner in hand... Plug&Play, scalable from one module to thousands.
JoelKatz
Legendary
*
Offline Offline

Activity: 1386


Democracy is vulnerable to a 51% attack.


View Profile WWW
August 16, 2011, 02:10:18 AM
 #6

        ch := (e and f) xor ((not e) and g)

The 'not' operation is bitwise negation. Every 1 bit becomes a zero, every zero becomes a one.

I am an employee of Ripple.
1Joe1Katzci1rFcsr9HH7SLuHVnDy2aihZ BM-NBM3FRExVJSJJamV9ccgyWvQfratUHgN
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!