Skip to content

SDK Integration

This guide shows practical integration patterns for application code.

Collect conditioned bytes and pass them to your application’s cryptographic primitive.

from openentropy import EntropyPool
seed = EntropyPool.auto().get_random_bytes(32)
use openentropy_core::EntropyPool;
let seed = EntropyPool::auto().get_random_bytes(32);

Pattern 2: Validate Before Operational Use

Section titled “Pattern 2: Validate Before Operational Use”

Run dispatcher analysis in CI or startup checks:

from openentropy import analyze
report = analyze([("startup", data)], profile="security")
use openentropy_core::dispatcher::{analyze, AnalysisProfile};
let report = analyze(&[("startup", &data)], &AnalysisProfile::Security.to_config());

Use periodic health reports and alert when healthy source count drops.