Reverse SHA-256 Phone Lookup Engine

High-speed reverse lookup engine for 58 Million Safaricom M-Pesa phone numbers, backed by Cloudflare D1 distributed SQLite and KV Edge Read-Through Cache.

Matched Phone Number
+254 700 123 456
KV EDGE HIT 49 ms

๐Ÿงช Test Number to Hash Generator

Type any Kenyan phone number (e.g. 254700123456) to calculate its exact SHA-256 hash token in your browser and test the lookup API instantly.

Computed Hash: d6f1734a8897d7c5f1e47b1533b181f1c98c851e4e972e920ab082e655f23d16

๐Ÿ’ก How the API Works

1

Pre-computed Safaricom Index

Maps 58 Million Safaricom M-Pesa phone numbers across prefixes (0700โ€“0729, 0740โ€“0748, 0790โ€“0799, 0110โ€“0115) into SHA-256 cryptographic hashes.

2

Two-Tier Hybrid Storage

Combines Cloudflare KV for sub-50ms global edge cache hits with Cloudflare D1 distributed SQLite for full 58M dataset persistence.

3

Lazy Write-Through Caching

On initial D1 cache miss, the matching phone record is resolved and automatically warm-loaded into KV edge nodes for future instant requests.

โšก Developer Integration

Query the endpoint directly via HTTP GET request:

curl -X GET "https://mpesa-phone.sh.co.ke/d6f1734a8897d7c5f1e47b1533b181f1c98c851e4e972e920ab082e655f23d16"