code wiki / (root) / nx_media_exclusion.nx

nx_media_exclusion.nx

buildroot/runtime/nx_media_exclusion.nx

2749 B66 linesdepth 6pulls 8 transitivereach 4 importersview sourcekind librarytopic media
docsdependenciesstructsconstsfunctions

about

nx_media_exclusion.nx -- LIB: the media-recovery EXCLUSION gate (safety-by-construction). BEFORE any recovered or indexed image is accepted, its perceptual fingerprint (dHash) is checked against a do-not-recover BLOCKLIST (takedown / NCMEC-style hash-match feed). A match -- EXACT or within a per-entry Hamming threshold, so re-encoded / resized RE-UPLOADS are caught too -- means REFUSE. Content removed for being illegal or non-consensual stays removed, including its copies. Reuses nx_phash / nx_simhash (zero new hash math). The blocklist is DATA (a TSV), never hardcoded, and starts empty. license_tier: ORIGINAL

dependencies 1 imports · 3 importers

nx_phash.nx nx_media_exclusion.nx nx_media_exclusion_enforce_gate.nx nx_media_exclusion_gate.nx nx_recovery_guard.nx

imports: nx_phash.nx

imported by: nx_media_exclusion_enforce_gate.nxnx_media_exclusion_gate.nxnx_recovery_guard.nx

structs

none

consts

none

functions

10func excl_blocked(qdhash: i64, bl_dhash: *i64, bl_thresh: *i64, n: i64) -> i64
21func excl_hex16(p: *u8) -> i64
36func excl_load(path: *u8, bl_dhash: *i64, bl_thresh: *i64, cap: i64) -> i64