Evidence with regard to which investigation?
Evidence with regard to which investigation?
They can take it for a "reasonable amount of time" (inconvenience you for a few hours and make you miss your connecting flight) while they copy an encrypted image. They then must return it to you.
"to conduct such an intrusive and nonroutine search under the border search exception (that is, without a warrant), the Government must have individualized suspicion of an offense that bears some nexus to the border search exception’s purposes of protecting national security, collecting duties, blocking the entry of unwanted persons, or disrupting efforts to export or import contraband. See also United States v. Ramsey, 431 U.S. 606, 620 (1977) (“The border-search exception is grounded in the recognized right of the sovereign to control, subject to substantive limitations imposed by the Constitution, who and what may enter the country.”). If a nonroutine search becomes too “attenuated” from these historic rationales, it “no longer [will] fall under” the exception"
-- US v. RAYMOND IDEMUDIA AIGBEKAEN (https://law.justia.com/cases/federal/appellate-courts/ca4/17...)
Of course whether border agents know or care about this is a different story and by the time you are quoting precedent, you're probably beyond any of this being helpful.