Cryptography & Encryption
✓ Completed
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