>>509165974
You're halfway there, and I'm surprised this comment doesn't have more attention.
You cannot be compelled by a court to give up a passphrase or even an unlock pattern because, being information of the mind, it is protected by the 5th amendment right against self incrimination. Your fingerprints, DNA, iris scans, passwords stored on hardware or written on paper, etc etc are only protected partially by the 4th amendment, given that it's information of the physical nature and a judge can compell you to give those up.
Don't be a retard, memorize your passwords using the memory palace technique.