Electronic mail can be secured using PGP or S/MIME. PGP uses asymmetric encryption with RSA and symmetric encryption with CAST-128. It generates hashes with SHA-1 and compresses data. Keys are stored on key rings along with identifiers. S/MIME provides encryption, signing, and signing with encryption of MIME data using algorithms like RSA, Triple DES, and SHA-1. It defines headers and content types for secure email.