 Encryption algorithms which use the same key for both encryption and decryption are known as symmetric key algorithms.A newer class of "public key" cryptographic algorithms was invented in the 1970s.These asymmetric key algorithms use a pair of keys—or "keypair"—a public key and a private one.