Yeah the best approach, the one I use when crossing, is to encrypt everything, then send part of the password to someone else who won't give it to me until later. They can steal your hardware, I guess.
And then you'll just be denied entry for "not cooperating". There is no technical solution to this political problem. (It also happens to be an ineffective measure, as false identities are easily crafted on the internet.)