From 9d2382cf5f10f06245d5f0cc7b8b250e6e19d06e Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 23 Mar 2025 18:53:35 +0800 Subject: Add MathML notation --- tmpl.go | 1 + 1 file changed, 1 insertion(+) (limited to 'tmpl.go') diff --git a/tmpl.go b/tmpl.go index ca21b96..b6fb9e0 100644 --- a/tmpl.go +++ b/tmpl.go @@ -195,6 +195,7 @@ func init() {

Select a nonce no longer than 32 bytes, such that when it is appended to the decoded form of the challenge identifier, and the entire result is hashed with SHA-256, the first {{ .Global.NeedBits }} bits of the SHA-256 hash are all zeros. Within one octet, higher bits are considered to come before lower bits.

+

In other words, find an nonce NN with |N|32B\lvert N\rvert \le 32\,\mathrm{B}, such that SHA256(BN)<2{{ .Global.NeedBitsReverse }}\mathrm{SHA256}(B \,\|\, N) < 2^{{{ .Global.NeedBitsReverse }}} in big endian.

-- cgit v1.2.3