Asking this for a friend…
Case 1: I stole a million dollars worth of diamonds from a jewelry store, and hid them in my house. Unfortunately, I dropped my wallet during the heist, and the coppers came to my house and served me with a search warrant. I lie and deny that I robbed the store, and I say that I had realized that my wallet was missing earlier that day, and had assumed I just misplaced it, but I now assume that my pocket was picked in order to frame me. I have to allow them to search, but I don’t have to aid them, or tell them where I hid the diamonds, right? And if they can’t find the diamonds, and can’t come up with any other evidence against me, they can’t charge me with any kind of obstruction, right?
Case 2: I encrypted one of my hard drives, using a password consisting of 32 random characters. It’s too long and random to memorize, so I wrote it down, and I keep it hidden in my house, removing it from its hiding place only long enough to decrypt my drive when I need something on that drive.
The cops learn by analyzing network traffic that I have been actively using Pirate Bay to download torrents. They come to my house, serve a warrant, and seize my computer. I tell them that I encrypted one of the drives but did not memorize the password, which was written on water-soluble paper, and that when I heard them at the door, I flushed the password down the toilet, because I assumed they were here about a few movies that I illegally downloaded, but I didn’t want my wife to know that I was looking at raunchy but legal porn, and she has friends at the police station. I of course allow them to search the house, but they don’t find the hidden paper containing the password.
What’s the worst that could happen?