A digital signature, also known as an electronic signature, proves the legitimacy of an electric file or text in digital communication and uses encryption methods to keep the content of the file secure. Digital signatures are used in e-commerce, software dissemination, economic dealings and other circumstances where counterfeiting or interfering may otherwise be possible.