Digital signatures are used to generate digital fingerprints by using a hashing algorithm to ensure the integrity of data transmission.