abla/sys/linux/random

Generated from source.

Import with import "abla/sys/linux/random".

Source: abla/sys/linux/random/entry.ab

secureRandomBytes (fun)

trusted fun secureRandomBytes(count: int): SecureRandomResult

Requests exactly count bytes of system entropy, retrying interrupted reads. On failure returns no bytes and a positive system error code. Supported systems accept 1โ€“1048576 bytes per call. An unsupported target returns error 38.

Built from Abla v0.2.79 source ba5d6b7d. Examples and generated signatures follow that source revision.