From b7b2cc4d21304abe00a25ac96f04bf264cd40a43 Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Sun, 29 Sep 2024 20:38:34 +0000 Subject: [PATCH] Update sha256 estimates --- src/sha256.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sha256.ts b/src/sha256.ts index 1b6b08a..6f420d3 100644 --- a/src/sha256.ts +++ b/src/sha256.ts @@ -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)