PGP uses the modern terminology for digital signatures, where the
document itself is not encrypted, but an encrypted message
digest is appended for transmission:
It's obvious that it is possible to both sign and encrypt
a document in PGP if required. Exercise: how?