News for hackers. Stuff that matters.

korbin

Re:Show HN: SHAllenge – Compete to get the lowest Hash on Thursday July 04, 2024 @08:34AM (#40874397)
You can obtain them on capable boards on eBay for $600-1000 - https://www.ebay.com/itm/326181455270
SHA256 is designed as such that the maximum amount of data that can be contained within a single block is 440 bits (55 bytes.)

If you carefully organize the nonce at the end and use all 55 bytes, you can pre-hash the first ~20/64 rounds of state and the first several rounds of W generation and just base further iterations off of that static value (this is known as a "midstate optimization.")

> If you limit your variable portion to a base16 alphabet like A-P

The more nonce bits you decide to use, the less you can statically pre-hash.

In FPGA, I am using 64 deep, 8-bit-wide memories to do the alphabet expansion. I am guessing in CUDA you could something similar with `LOP3.LUT`.

Re:Show HN: SHAllenge – Compete to get the lowest Hash on Thursday June 20, 2024 @05:37PM (#40743681)
I'm at about ~22GH/s per Xilinx VU9P UltraScale+ FPGA - at least 40GH/s is possible (for around 250W/device.)

The nonce alphabet being limited makes the whole thing quite a bit more expensive.