513 B
513 B
markup, title, description, import
| markup | title | description | import | ||||
|---|---|---|---|---|---|---|---|
| occlusion | Mid stdlib — hash and secrets | lib/hash + lib/secrets without plugins (Mid M3) |
|
Digests and secure tokens
Integrity digests and cryptographic tokens stay in lib/ — do not use math.random for secrets.
main
d = > hash.sha256 text="marqdo"
t = > sec.token_hex n=8
L = > len t
print text=
dprint text=L
L== 16
print text=mid-m3-ok
print text=mid-m3-fail