Skip to content

Commit 4b08cb7

Browse files
committed
docs(readme): fix duplicate line and add missing API functions
1 parent b91d206 commit 4b08cb7

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ import trueentropy
168168
# Configure Hybrid Mode (re-seed every 60 seconds)
169169
trueentropy.configure(mode="HYBRID", hybrid_reseed_interval=60.0)
170170

171-
# Generate numbers at max speed
172171
# Generate numbers at max speed
173172
# The internal PRNG is automatically re-seeded from the entropy pool
174173
for _ in range(1000000):
@@ -316,10 +315,14 @@ True random numbers from quantum phenomena:
316315

317316
| Function | Description |
318317
|----------|-------------|
318+
| `configure(...)` | Set mode (DIRECT/HYBRID), offline_mode, enable sources |
319+
| `reset_config()` | Reset configuration to defaults |
319320
| `health()` | Returns entropy pool health status |
320321
| `start_collector(interval)` | Starts background entropy collection |
321322
| `stop_collector()` | Stops background collection |
322323
| `feed(data)` | Manually feed entropy into the pool |
324+
| `get_tap()` | Get current tap instance (EntropyTap or HybridTap) |
325+
| `get_pool()` | Get the global entropy pool instance |
323326

324327
## How It Works
325328

@@ -345,7 +348,7 @@ True random numbers from quantum phenomena:
345348
| v |
346349
| +-----------+ |
347350
| | EXTRACTOR | Secure extraction |
348-
| | (Tap) | Depletion protection |
351+
| | (Tap) | DIRECT or HYBRID mode |
349352
| +-----+-----+ |
350353
| v |
351354
| +---------------+--------------+ |

0 commit comments

Comments
 (0)