nyx/tests/dynamic_fixtures/crypto/python/benign.py

10 lines
237 B
Python
Raw Permalink Normal View History

2026-06-05 10:16:30 -05:00
# Phase 11 (Track J.9) — Python CRYPTO benign control fixture.
#
# Uses `secrets.token_bytes(32)` (a CSPRNG) so the produced key
# trivially exceeds the weak budget.
import secrets
def run(_value):
return secrets.token_bytes(32)