Randomization Services

Overview

Randomization Services is an API that generates cryptographically secure random numbers.

Symbols

Obtaining a Random Number

func SecRandomCopyBytes(SecRandomRef?, Int, UnsafeMutablePointer<UInt8>)

Generates an array of cryptographically secure random bytes.

Data Types

SecRandomRef

Abstract Core Foundation-type object containing information about a random number generator.

Constants

Number Generator Default

Indicates the default random number generator.