Bitcoin Forum
April 26, 2024, 12:05:57 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Where can I find...  (Read 854 times)
Dexter770221 (OP)
Legendary
*
Offline Offline

Activity: 1029
Merit: 1000


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.
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
PLaci1982
Full Member
***
Offline Offline

Activity: 168
Merit: 100


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 (OP)
Legendary
*
Offline Offline

Activity: 1029
Merit: 1000


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: 1596
Merit: 1012


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. Follow me on Twitter @JoelKatz
1Joe1Katzci1rFcsr9HH7SLuHVnDy2aihZ BM-NBM3FRExVJSJJamV9ccgyWvQfratUHgN
Dexter770221 (OP)
Legendary
*
Offline Offline

Activity: 1029
Merit: 1000


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: 1596
Merit: 1012


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. Follow me on Twitter @JoelKatz
1Joe1Katzci1rFcsr9HH7SLuHVnDy2aihZ BM-NBM3FRExVJSJJamV9ccgyWvQfratUHgN
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!