More than three-quarters of the world’s nations engage in torture, which is notoriously difficult to study because it often occurs in secret.