mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
10 lines
237 B
Python
10 lines
237 B
Python
|
|
# 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)
|