code wiki / sha256

topic: sha256

15 modules sharing the sha256 name family (derived from the tree's prefix discipline).

The 'sha256' topic family in the Nishi sovereign ecosystem provides comprehensive tools for implementing and testing the SHA-256 cryptographic hash function. It includes nx_sha256, which offers a pure NishiLang implementation compliant with FIPS 180-4, nx_sha256_kat_test for validating against NIST KATs, and nx_sha256_wasm for a self-contained WebAssembly version. These modules collectively support verification, optimization, and performance benchmarking of SHA-256 across different execution environments.

auto-narrated by the local model from this topic's module headers; links verified against the wiki index.

narrated overview -- maintained by the narration lane, module links verified against this wiki.

moduledescriptionlinesfuncs
nx_sha256.nxSHA-256 in pure NishiLang (Phase G9, FIPS 180-4). 54923
nx_sha256_canonical_gate_t77.nxNative Linux x86-64 qualification of existing shared allocation and canonical hash reuse.1249
nx_sha256_diff_probe.nxdifferential oracle for the SHA-256 optimization.393
nx_sha256_kat_test.nxNIST FIPS 180-4 KAT: SHA-256("abc")251
nx_sha256_longmsg_gate.nxthe MISSING KAT row, shipped as a ten-second organ1177
nx_sha256_native_kat_gate.nxDISTINGUISHING test for task #21: run nx_sha256_one_shot NATIVELY (x86, no wasm,401
nx_sha256_perf_test.nxbench substrate SHA-256 on a fixed input.832
nx_sha256_sha384_coexist_kat_test.nxregression KAT for the631
nx_sha256_shared_gate.nxNative Linux x86-64 qualification of existing shared allocation and canonical hash reuse.1189
nx_sha256_wasm.nxSHA-256 (FIPS 180-4) self-contained for WAT target.3078
nx_sha256_wasm_vm_gate.nxproves the byte-width backend fix GENERALIZES beyond the codec, on security-critical511
nx_sha256_workspace_gate_t77.nxNative Linux x86-64 qualification of existing shared allocation and canonical hash reuse.1249
nx_sha256_workspace_t77.nxSHA-256 in pure NishiLang (Phase G9, FIPS 180-4). 54923
sha256.nxalias stub.100
sha256_test.nxverify against known FIPS 180-4 test vectors.835