feat(random): add explicitly granted OS entropy API

This commit is contained in:
Marqdo Agent committed 2026-11-21 10:25:11 +08:00
1 parent 6338fa10e9
commit ee0c6cc80a
20 files changed
+309 -15

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
---
import:
random: "std:random"
---
## main
**字节结果 = random.字节(16)**
**整数结果 = random.整数(100)**
*[字节结果.ok, 长度(字节结果.value), 整数结果.ok, 整数结果.value >= 0, 整数结果.value < 100]*