https://stackoverflow.com/questions/31821709/nsdata-to-uint8-in-swift eg: let array = "XXXXX".data(using: .utf8)!.bytes