It is a well-established and fundamental principle of justice that no one may be compelled to subject himself to punishments nor to give evidence leading to that result. Nemo tenetur prodere seipsum is an ancient maxim. It was written directly into the Virginia Declaration of Rights in 1776, which states that in all "criminal prosecutions" no one can "be compelled to give evidence against himself." This idea was also incorporated into the United States Constitution in 1791 through the fifth amendment.
W. H. Bryson,
Discovery of Penalties,
U. Rich. L. Rev.
Available at: https://scholarship.richmond.edu/lawreview/vol15/iss2/4