Isn't that covered by the 5th Amendment (not 100% sure, I'm not American)?
I remember hearing about this being used as a justification by a judge in a case relating to encryption. It's just sad that most cases involving encryption / computer crimes are related to child porn charges so people are more worried about punishing the person than they are about protecting the rights of everyone that is brought into the court system.