Lesson 3 of 5 35 min

Cryptography & Encryption

Learn symmetric vs. asymmetric encryption, hashing functions, TLS/SSL, digital signatures, and how HTTPS protects your data in transit.
python
import bcrypt

# Hash a password
password = b'my-password'
hash = bcrypt.hashpw(password, bcrypt.gensalt(rounds=12))

# Verify
match = bcrypt.checkpw(password, hash)  # True
← Networking Fundamentals for Security