Skip to content

Commit

Permalink
Update sha256 estimates
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Sep 29, 2024
1 parent f51bab4 commit b7b2cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sha256.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { HashMD, Chi, Maj } from './_md.js';
import { rotr, wrapConstructor } from './utils.js';

// SHA2-256 need to try 2^128 hashes to execute birthday attack.
// BTC network is doing 2^67 hashes/sec as per early 2023.
// BTC network is doing 2^70 hashes/sec (2^95 hashes/year) as per late 2024.

// Round constants:
// first 32 bits of the fractional parts of the cube roots of the first 64 primes 2..311)
Expand Down

0 comments on commit b7b2cc4

Please sign in to comment.