Type Alias

SecRandomRef

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

Declaration

typealias SecRandomRef = OpaquePointer

See Also

Random Numbers

func SecRandomCopyBytes(SecRandomRef?, Int, UnsafeMutableRawPointer) -> Int32

Generates an array of cryptographically secure random bytes.

let kSecRandomDefault: SecRandomRef

An alias for the default random number generator.