It is a set of data attached to an electronic communication whose purpose is to identify the sender of the communication or message as legitimate of this author, as if it were an original signature.
An electronic signature can be any data set that is incorporated into an electronic message through technological means to refer to the signing of an operation.
A digital signature is a type of electronic signature that uses cryptographic means and is distinguished for his safety, because it allows to reliably identify a sender (authentication and non-repudiation) further providing the ability to validate that a message has not been altered from its creation (integrity) and allowing the confidentiality of information.
It works through a public key infrastructure (PKI) where two key or keys for sending messages are used:
Digital signatures cannot be faked because the technology used to create the digital certificates..