In this section, we review cryptographic algorithms and the pycrypto module for encrypting and decrypting data.
Encrypting and decrypting information with pycrypto
Introduction to cryptography
Cryptography can be defined as the practice of hiding information, and includes techniques for message-integrity checking, sender/receiver identity authentication, and digital signatures.
The following are the four most common types of cryptography algorithms:
- Hash functions: Also known as one-way encryption, these have no key. A hash function outputs a fixed-length hash value for plaintext input, and in theory it's impossible to recover the length or content of the plaintext. One way cryptographic functions are used in websites...