Data
public extension Data
-
Generate secure random bytes from Data
Declaration
Swift
static func randomBytes(_ count: Int) throws -> Data
-
Create a Data object from a hex string
Declaration
Swift
init(hexString: String) throws