Random
public struct RandomThis can be used to securely generate random data.
- 
                  
                  Securely generate a random sequence of bytes. DeclarationSwift public static func bytes(count: UInt32) -> BytesParameterscountThe amount of bytes. 
- 
                  
                  Securely generate a random number. DeclarationSwift public static func number() -> UInt32
- 
                  
                  Securely generate a random number with a given upper bound. The result has a uniform distribution in the Range of 0..<upperBound.DeclarationSwift public static func number(withUpperBound upperBound: UInt32) -> UInt32
 View on GitHub
            View on GitHub
           Random Structure Reference
      Random Structure Reference