Store personal credentials securely in a local SQLite file using cryptography.
Tick off requirements as you build to track real-time completion.
Follow this chronological guide to build the project from scratch.
Implement secure key derivation and AES-256 password cryptography.
import os
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC
from cryptography.hazmat.primitives import hashes
def get_key(master_password, salt):
kdf = PBKDF2HMAC(
algorithm=hashes.SHA256(),
length=32,
salt=salt,
iterations=100000
)
return kdf.derive(master_password.encode())
def encrypt_val(val, key):
iv = os.urandom(16)
cipher = Cipher(algorithms.AES(key), modes.CFB(iv))
encryptor = cipher.encryptor()
ciphertext = encryptor.update(val.encode()) + encryptor.finalize()
return iv + ciphertextReal issues students hit during development and how to troubleshoot them fast.
Continue building your skills with similar projects.
Analytics dashboard with KPI cards, Recharts visualizations, data tables, and dark theme.
Node.js & Express REST API with MongoDB, nanoid key generation, and rate limiting.
Secure auth backend with JWT access/refresh tokens, bcrypt hashing, and role guard middleware.