RSA can also be used to encrypt and decrypt the data being signed. ... The DSA algorithm does not encrypt the data being signed, it purely produces a signature that allows the recipient to verify the authenticity and provenance of the data.