A digital signature is a mathematical scheme for verifying the authenticity of digital messages or documents. A valid digital signature on a message gives a recipient confidence that the message came from a sender known to the recipient.
Digital signatures are a type of public-key cryptography, and are commonly used for software distribution,financial transactions, contract management software, and in other cases where it is important to detect forgery or tampering.