Developer Documentation

Welcome to the EinKey API. EinKey provides cryptographically conditioned entropy generated from our Local Timing Jitter Engine through a secure HTTPS REST API.

← Back to Homepage

Authentication

Every request requires an API Key.


X-API-Key: YOUR_API_KEY

Base URL


https://api.einkey.com

Health Endpoint

GET /health


curl https://api.einkey.com/health

Generate Random Integer

GET /v1/random/int


curl \
-H "X-API-Key: YOUR_KEY" \
"https://api.einkey.com/v1/random/int?min=1&max=100"

Example Response

{

"value":42,

"min":1,

"max":100,

"source":"EinKey local timing jitter engine",

"conditioner":"SHA3-512 + SHAKE256"

}

Generate Random Hex

GET /v1/random/hex


curl \
-H "X-API-Key: YOUR_KEY" \
"https://api.einkey.com/v1/random/hex?n=32"

Generate UUID

GET /v1/random/uuid


curl \
-H "X-API-Key: YOUR_KEY" \
"https://api.einkey.com/v1/random/uuid"

Response Codes

Status Description
200 Success
401 Invalid API Key
429 Rate Limited
500 Internal Error

Entropy Source

Current production engine:

Validation

Test Status
ENT PASS
Dieharder PASS
NIST SP 800-22 PASS

Download NIST Results