Questions tagged as 'hash'

1
answer

How to call a method with named parameters using a hash

I would like to know if you can pass parameters to a named parameter method via hash. Can you review the remaining parameters for another function as in the example below? params = {key: "value",key2: "value2"} def func(key1: nil, key2: nil, *...
asked by 11.02.2015 / 15:30
1
answer

How do I use password_hash in select

How do I sign in with the entire encrypted password? I used password_hash and now for me to login like I do? if(isset($_POST['loggin'])) { $user = trim(strip_tags($_POST['user'])); $txtpassword = $_POST['p...
asked by 18.12.2015 / 22:42
1
answer

How to send the password already with the hash to the database

How could I do to send a hashed password to my database?    Code $PDO = db_connect(); $sql = "INSERT INTO users(nome, login, password, email,linkfb) VALUES(:name, :login, :senha, :email, :linkfb)"; $stmt = $PDO->prepare($sql); $stmt->...
asked by 29.09.2018 / 19:48