Platform-specific package target: darwin_arm64

Collection Info

View Source
Collection
core
Path
sys/darwin/Security
Entries
6

Source Files

Types

3

Procedures

2

RandomCopyBytes #

Source
RandomCopyBytes :: proc "c" (rnd: RandomRef = kSecRandomDefault, count: uint, bytes: [^]u8) -> errSec ---

Generates an array of cryptographically secure random bytes.

Variables

1

kSecRandomDefault #

Source
@(link_name="kSecRandomDefault")
kSecRandomDefault: RandomRef

Default random ref for /dev/random. Synonym for nil.