Post-Quantum Authentication API — The World's Fastest Biometric Auth
npm install @h33-ai/h33-auth
import { H33Client } from '@h33-ai/h33-auth';
const h33 = new H33Client({
apiKey: 'your-api-key',
endpoint: 'https://api.h33.ai'
});
// Enroll a user with biometric template
const enrollment = await h33.enroll({
userId: 'user-123',
template: biometricTemplate // 128-dim float vector
});
// Verify authentication
const result = await h33.verify({
userId: 'user-123',
template: liveBiometricCapture
});
console.log(result.authenticated); // true
console.log(result.confidence); // 0.97
console.log(result.latency); // ~50µs
H33 uses a three-layer post-quantum security stack in a single API call:
| Layer |
Technology |
Purpose |
PQ-Secure |
| 1 |
BFV FHE |
Encrypted biometric matching |
Yes (lattice) |
| 2 |
STARK ZKP |
Zero-knowledge proof of match |
Yes (SHA3-256) |
| 3 |
Dilithium |
Digital signature attestation |
Yes (ML-DSA) |
Performance: 1.2M authentications/second on production hardware.
| Endpoint |
Method |
Description |
/api/auth/enroll |
POST |
Enroll biometric template |
/api/auth/verify |
POST |
Verify biometric authentication |
/api/auth/status |
GET |
Check auth service status |
| Endpoint |
Method |
Description |
/api/biometric/template |
POST |
Submit biometric template |
/api/biometric/match |
POST |
FHE-encrypted match |
| Endpoint |
Method |
Description |
/health |
GET |
Service health check |
/ready |
GET |
Readiness probe |
| Tier |
Price |
Auth/month |
Features |
| Starter |
$349/mo |
100K |
FHE + ZKP |
| Pro |
$899/mo |
1M |
+ Dilithium attestation |
| Enterprise |
$49,999/mo |
Unlimited |
+ Dedicated infrastructure |
Proprietary. See LICENSE for details.