Skip to main content

Zero-dependency cryptographic verification for Aevion AI proofs

Project description

aevion-verify

Zero-dependency cryptographic verification for Aevion AI proofs

PyPI version License: MIT


Installation

pip install aevion-verify

Quick Start

from aevion_verify import AevionVerifier

# Initialize verifier
verifier = AevionVerifier()

# Verify a proof locally
proof = {
    "content_hash": "abc123...",
    "signature": "def456...",
    "public_key": "ghi789..."
}
is_valid = verifier.verify(proof, "AI output content")

if is_valid:
    print("Proof verified!")
else:
    print("Verification failed")

Features

  • Ed25519 Signature Verification - Industry-standard cryptographic signatures
  • SHA-256 Content Hashing - Tamper detection
  • XGML Proof Support - Human-readable proof format
  • Registry Verification - Check proofs against blockchain registry

API Reference

AevionVerifier

class AevionVerifier:
    def verify(self, proof: dict, content: str) -> bool:
        """Verify a proof against content."""

    def verify_from_registry(self, proof_id: str) -> dict:
        """Verify a proof from the Aevion registry."""

    def parse_xgml(self, xgml: str) -> dict:
        """Parse an XGML proof document."""

Proof Structure

{
    "proof_id": "aevion_abc123...",
    "content_hash": "sha256_hex_64_chars",
    "signature": "ed25519_hex_128_chars",
    "public_key": "ed25519_hex_64_chars",
    "timestamp": "2025-01-15T10:30:00Z",
    "model": "claude-3.5-sonnet",
    "domain": "healthcare",
    "algorithm": "Ed25519+SHA256"
}

License

MIT - See LICENSE file.


Links


Built by Aevion LLC - Veteran-Owned, Making AI Verifiable

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aevion_verify-1.0.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aevion_verify-1.0.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file aevion_verify-1.0.0.tar.gz.

File metadata

  • Download URL: aevion_verify-1.0.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for aevion_verify-1.0.0.tar.gz
Algorithm Hash digest
SHA256 459f4e1897dc5a9722b286be4dbffe8cb2e8fd179de0a14fa33f37479891305a
MD5 f2392fe83e7b602f111cd16c67062934
BLAKE2b-256 bdb2e1742469592de6e62c0fb09da8daf91bebd56db9b80e361962f62110b19e

See more details on using hashes here.

File details

Details for the file aevion_verify-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: aevion_verify-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for aevion_verify-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21fdb2eb062f160c501a6b6155d80f39f6bb0629e5f97b71e402f0bab361d551
MD5 b02165c5165306d8821aacde093fdc73
BLAKE2b-256 560ca8392eecf06ac03086b46cc0a85755fcd9884d1469b485804093730f5bf7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page