Suppose I have a computer and I set up two logins that are identical other than one sanitises my data SSD upon logging on. This would cause any information I have on said drive to be inaccessible to anyone. Have I committed any crime? Assume the data itself is legal, and is not evidence of a crime I have commited. An important use case of such a tool would be reporters who may have evidence of crimes they are investigating. If that changes the situation that should be mentioned in the answer.
Suppose someone verbally requests the login credentials of the computer, and I provide the sanitising one which they proceed to use. Have I committed any crime?
Any jurisdiction would be relevant, as would any values for the "someone" above (such as employer, police officer, border agent). Cases where such a question would be particularly relevant seem to occur at borders in particular, with examples in the USA, Canada and most recently in the UK. So I can be specific about what I have done I have used the example of a general purpose computer, but I assume the same thing would apply to commercially available tools.