Questions tagged as 'senhas'

4
answers

How to decrypt MD5?

If I have the following code $senha = md5("senha") and I send it to the $senha database, it should be possible to retrieve this MD5 in the database and show "password" back on an information update form, / p> Is this possi...
asked by 23.11.2014 / 04:33
5
answers

Security in submitting information via form in the HTTP header

After a few tests on Yahoo and Facebook, I realized that after filling in my username and password and clicking Login, with the developer tools open in the Network option (Chrome or Firefox) I noticed that if I stop sending the data on the pag...
asked by 13.05.2014 / 03:58
2
answers

Choosing the method for hashing in PHP

My question began when I decided to re-examine the method I was using to obtain the user's password and store it in the database. After reading this , this and this question here on the net, plus many others on other networks, such as this...
asked by 08.08.2016 / 19:40
1
answer

Why is it better to use char [] than String for passwords?

Using Swing, the getPassword() method of JPasswordField returns an array of char[] characters instead of returning String as getText() (which by the way is deprecated). Should I not use String to stor...
asked by 04.09.2017 / 19:26
1
answer

How, when and why to use "SecureString" in C #?

I once heard about the C # SecureString class and found it interesting, so I think it's interesting content that can yield good answers from more experienced professionals. Some questions to ask might be: Someone has worked with this cla...
asked by 09.11.2016 / 18:06
1
answer

How to Use Salts and Hashes with PHP?

Next, I have to make a user registration and login system, but I wanted to increase the security of this system using salts in passwords, could someone show me a simple example of this?     
asked by 14.02.2014 / 01:35
1
answer

Is there any specific type for non-String passwords in .Net?

I see very commonly the use of string s to store passwords in the program memory, not only in .Net, but in all programming languages I have ever used. At first, I do not see a problem in this. But as I know the .Net ecosystem is HUGE,...
asked by 26.02.2014 / 16:08
2
answers

What is the difference between using password_default and password_bcrypt?

Searching for hash, I noticed that the second parameter of the password_hash function has two options, PASSWORD_DEFAULT and PASSWORD_BCRYPT , Exactly which of the two should I give preference to use? It should probably...
asked by 04.04.2017 / 15:40
1
answer

How safe is it to use "password" or "text" input?

Recently we are in a wave of using the combination of input of passwords with the option to hide / display the password (*** -> abc) with the "eye" technique. I understand this purpose because it greatly improves the UX side of the...
asked by 09.09.2016 / 13:59
4
answers

Expire link php

I'd like to know how I'd expire a link after a use. We have a password recovery system that sends an email to recovery that is working perfectly. In case, if the link does not open in 30 minutes, it expires, but I would like to know how to ma...
asked by 30.10.2015 / 14:56