OpenQuizz
Une application de gestion des contenus pédagogiques
security.py File Reference

Namespaces

 werkzeug.security
 

Functions

def pbkdf2_hex (data, salt, iterations=DEFAULT_PBKDF2_ITERATIONS, keylen=None, hashfunc=None)
 
def pbkdf2_bin (data, salt, iterations=DEFAULT_PBKDF2_ITERATIONS, keylen=None, hashfunc=None)
 
def safe_str_cmp (a, b)
 
def gen_salt (length)
 
def generate_password_hash (password, method="pbkdf2:sha256", salt_length=8)
 
def check_password_hash (pwhash, password)
 
def safe_join (directory, *pathnames)
 

Variables

 SALT_CHARS
 
 DEFAULT_PBKDF2_ITERATIONS