Questions tagged as 'hash'

1
answer

Generate MAC address hash and save to database

According to this my question to get the mac address of the network card and generate the hash, use the following methods: private string GetSHA1HashData(string data) { SHA1 sha1 = SHA1.Create(); byte[] hashData = sha1...
asked by 26.11.2014 / 00:03
1
answer

error with password_verify ()

Good afternoon I have a problem using password_verif() it is not verifying correctly to log in, it is falling straight into else with msg "bad password". could anyone help me? Functions: private function compararSenha($hash){...
asked by 07.12.2018 / 17:40
0
answers

Hash android changes constantly?

Hello, I started using facebook api this week, so I sent the application to playstore and got the hash in two ways: at the prompt and programmatically, which I found to be more efficient than prompt. In the first version Hash was one, now...
asked by 17.11.2018 / 23:51
1
answer

How to remove a line in txt file in python

Good night, I'm having problems removing a line from a txt file, the delete function of the code is responsible for removing a user, however when I try to remove the whole file it is deleted. def deleta(): usuario = input("\nUsuário: ") +...
asked by 12.11.2018 / 02:19
0
answers

Create a c ++ iterator to cycle through a hash table (Separate Chaining)

I'm new to c ++ and I'm not able to create an iterator to traverse a hash table. The table is composed of a vector of n linked list positions (created by me). I need an iterator to go from beginning to end, line by line, to be able to access eac...
asked by 23.09.2018 / 01:00
1
answer

How to use Stylus lookup in a hash object

Is there a way to use the lookup function to apply hash objects to within for ? I'm using it this way: $color= { $success: { bg: #4caf50, ... } , $error: { bg: #f44336, ... } , $warning: {...
asked by 17.08.2018 / 16:36
0
answers

cakephp password reset

Hello, I'm trying to make a "forgot my password" for the user to change the password in case he forgets and I'm having problems because he is entering the bank but at the time of login he says that the password is wrong. Follow the snippet of my...
asked by 21.08.2018 / 19:51
0
answers

How to generate a SHA-3 hash with Crypto ++, using a string as input and output?

Crypto ++ is a non-standard open source C ++ class library of cryptographic schemes. With it it is possible to use the hash function sha-3, however I have no idea how to use this library, even though it has documentation, I still find it confusi...
asked by 19.05.2018 / 19:32
0
answers

Map Hash in Ruby

I am loading a hash of an .yml file in the following format: { 'user_id' => 'id', 'profile' => { 'about_me' => 'about', 'phone' => { 'mobile' => 'mobile_phone', 'home' => 'home_phone' }}} I want to output another hash with...
asked by 11.02.2018 / 18:04
0
answers

discover the hash method of a password

I am breaking my head to try to find out which hash method one of the applications my company is using, I do not have access to the source code because it is a compiled ASP, but it stores the password in the database and they all have the same si...
asked by 19.01.2018 / 14:05