跳到正文
DEV Community· 0DATA·· 2 小時前AI 評分41

AI Notary(0DATA):不查看數據也能證明 AI 實際做過甚麼(僅雜湊 + Hedera 錨定)

Proving what an AI actually did — without ever seeing the data (hash-only + Hedera anchoring)

AI 導讀

AI Notary(0DATA)以加密稽核日誌證明 AI 使用了哪個模型及上下文產生回應,而不披露內容。提示詞、上下文及回應會在用戶端雜湊,再以 Hedera HCS 錨定;伺服器不會收到明文。用戶可選擇一般雜湊錨定,或透過 eIDAS 時間戳記取得合資格級別的證明。

正文

0DATA

The problem: proving what an AI actually did

An AI makes decisions. Who proves which model, from which context, produced which response — without exposing the content itself?

The content is often sensitive: a medical prompt, a financial context, an HR decision. Sharing it with a third party just to "prove" is unacceptable. Yet without proof, an AI decision is unverifiable.

That's the problem AI Notary (0DATA) solves: a cryptographic audit log that proves the fact without ever revealing the content.

The principle: hash-only

Everything happens client-side. The content never leaves your machine:

prompt + context + response
   → SHA-256 (prompt_hash, context_hash, response_hash)
   → canonical signed payload (version, level, chain, timestamp, operator, nonce…)
   → SHA-256(payload) = final_hash
   → secp256k1 signature (r‖s‖v)
   → on-chain anchoring (Hedera HCS)

Only fingerprints travel. The server stores nothing in clear text. To verify later, you re-hash the content locally and compare — integrity is proven without ever transmitting the data.

Local hashing in 5 lines

The SDK does all the hashing client-side:

from ainotary import Notary

n = Notary("https://api.0data.fr", operator="my-agent", api_key="…")

p = n.notarize(prompt="…", response="…", model="private-llm")
print(p["proof_id"], p["anchor_ref"])

prompt and response are hashed locally (hashlib.sha256) before anything is sent. The server only receives prompt_hash, response_hash, model, operator and a timestamp.

Why Hedera + eIDAS

  • Hedera HCS (Hashgraph): fast, cheap consensus, ideal for immutably anchoring a fingerprint. anchor_ref points directly to the public topic.
  • eIDAS (RFC 3161): for a "qualified" level, timestamping goes through a trusted authority (QTSP) — legal presumption of date accuracy and integrity (eIDAS art. 41).

The client chooses the level: simple (hash anchoring) or qualified (eIDAS timestamping). No lock-in — the proof stays portable and outlives the vendor.

What it changes

  • EU AI Act art. 12: AI decision logging becomes a verifiable journal, not an editable log file.
  • Autonomous agents: every action is notarized — you know what your agent actually did, not what it claims.
  • Trust without centralization: the proof is yours, third-party verifiable, no imposed cloud.

The proof is a product, not a promise

The classic trap is to describe the proof. The right move is to show it: a timestamped, anchored fingerprint, verifiable in one click on a public ledger.

That's the difference between "we do trust" and "here's the fingerprint — verify it yourself".


0DATA — Zero access. Full proof. · 0data.fr/boite-noire-ia.html · pip install ainotary

來源:DEV Community · dev.to