Add lib/hash and lib/secrets (EN/ZH) with known-vector golds, getrandom-backed tokens, and public demos. Co-authored-by: Cursor <cursoragent@cursor.com>
196 B
196 B
title: lib/secrets smoke import sec:lib/secrets.mq.md
main
t = > sec.token_hex n=8
L = > len t
print text=
L
u = > sec.token_urlsafe n=9
ul = > len u
print text=
ul