Home / Docs / Cryptography

Cryptography

XE uses standard cryptographic primitives with cross-implementation compatibility between Go and JavaScript (tweetnacl/blakejs).

Key Generation

Ed25519 via crypto/rand or deterministic from 32-byte seed.

Signing Contexts

Proof of Work

Anti-spam only, not consensus.

result = blake2b_8(nonce_LE || blockHash)
valid  = result >= difficulty

Functions: ComputePoW, ComputePoWConcurrent, ComputePoWWithContext, ValidatePoW

Server-side fallback: POST /pow endpoint.