Hmm could you not just encrypt your data and leave the key at your house and throw one away before you reach the border. They can have all of the “data” that they want.
If you’re a citizen, I don’t know if they can seize property, but if they can, you won’t be able to cross the border with it.