A digital signature is a mathematical technique used to validate the authenticity and integrity of a message, software or digital document.