Skip to content
Fourohtwo

datenvertrag.halowerk.com/v1/prime-field-discrete-log-ledger

For supplied prime modulus2..251, nonzero basis and target residue, returns exact multiplicative order, all powers in exponent order0..order-1, target subgroup membership and canonical least nonnegative discrete logarithm if one exists. Targetzero is a known no-solution; null facts remain unknown. A whole order/existence/exponent claim is checked. Uses own factor-based order reduction and baby-ste

BaseAnswering
POSThttps://datenvertrag.halowerk.com/v1/prime-field-discrete-log-ledger

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://datenvertrag.halowerk.com/v1/prime-field-discrete-log-ledger", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"base":2,"claimed":{"has_solution":false,"least_exponent":null,"order":3},"modulus":7,"target":3}),
});
console.log(await res.json());

Example input

{
  "base": 2,
  "claimed": {
    "has_solution": false,
    "least_exponent": null,
    "order": 3
  },
  "modulus": 7,
  "target": 3
}