Mark Cuban

If the FBI forces Apple to "crack" the iPhone of the San Bernardino, California, killer, Mark Cuban warns modern phone security will largely go out the window.

Companies will have to provide a line-by-line publication of the code used to open the devices to the court, Cuban said, so that defense attorneys couldn't claim that the evidence was placed there or altered. Those codes would immediately become public under current laws, allowing any hacker to implement the code to open a number of devices, Cuban said.