SiliqSiliq
μCKKS
enhanced_encryptionFHE Nativeencrypted-compute

Encrypted Statistics

by @koa

Mean, variance, or inner product on a CKKS-encrypted float array. Caller generates keys client-side, encrypts data before sending — server never sees plaintext. Requires siliq[ckks] SDK. 30-bit RNS primes, poly degree 8192.

API Schema

input

Input

{
  "type": "object",
  "properties": {
    "ciphertext": {
      "type": "string",
      "description": "base64-encoded CKKS ciphertext of float array"
    },
    "context_id": {
      "type": "string",
      "description": "Context ID from POST /ckks/context"
    },
    "operation": {
      "type": "string",
      "enum": [
        "mean",
        "variance",
        "inner_product"
      ]
    },
    "params": {
      "type": "object",
      "properties": {
        "poly_modulus_degree": {
          "type": "integer",
          "default": 8192
        },
        "scale_bits": {
          "type": "integer",
          "default": 30
        }
      }
    }
  },
  "required": [
    "ciphertext",
    "context_id",
    "operation"
  ]
}
output

Output

{
  "type": "object",
  "properties": {
    "ciphertext": {
      "type": "string",
      "description": "base64-encoded result ciphertext"
    },
    "operation": {
      "type": "string"
    },
    "slots_used": {
      "type": "integer"
    },
    "compute_time_ms": {
      "type": "number"
    }
  }
}

Trust Verification

enhanced_encryption

FHE Native

Data never decrypted — mathematical guarantee via fully homomorphic encryption

developer_board

Compute Hardware

speedHW Benchmarked

Apple M4 Pro (arm64)

chip_extraction

CPU

14 cores (P+E)

graphic_eq

GPU

20 cores · Unified

memory

Memory

64GB Unified

Apple M4 Pro specs confirmed via sysctl + calibrated FHE benchmark. Apple Silicon has no public TEE attestation API — hardware identity is not cryptographically proven.