Code Explainers
Code explainers tagged #password-hashing
go
package auth import ( "errors"
Hashing and verifying passwords with bcrypt in Go
password-hashing
bcrypt
error-handling
Intermediate
7 steps
python
from flask import Blueprint, render_template, request, redirect, url_for, flash from werkzeug.security import check_password_hash from .models import User, db
A change-email route in Flask
blueprints
form-validation
password-hashing
Intermediate
8 steps
java
package com.example.security; import javax.crypto.SecretKeyFactory; import javax.crypto.spec.PBEKeySpec;
Salted password hashing with PBKDF2 in Java
password-hashing
pbkdf2
salting
Intermediate
7 steps
python
from functools import wraps from flask import Blueprint, session, request, redirect, url_for, flash, render_template from werkzeug.security import check_password_hash
Session-based auth with a Flask Blueprint
authentication
decorators
sessions
Intermediate
9 steps
php
<?php namespace App\Security;
Secure password hashing with Argon2id in PHP
password-hashing
argon2id
timing-attacks
Intermediate
8 steps