Most voted "hash" questions
A hash function is any well-defined procedure or mathematical function that converts a large amount of data to a small data, usually a single integer. This tag should be used for more general hash questions; questions about hash classes should use the specific tag.
Learn more…123 questions
Sort by count of
-
0
votes1
answer372
viewsSHA256 hash generation of compressed.zip files
I would like to generate a hash with SHA256 of a set of files. For this I compressed all in format .zip and I am using the following code(Python): from hashlib import sha256 myFile =…
-
0
votes2
answers60
viewsProblem with inifnito loop Randomaccessfile
I am using this code to read a text file using the RandomAccessFile, character by character, and generating a string for each word formed, to save to a Hashmap. I need to use the RandomAccessFile…
-
0
votes1
answer180
viewsProblem with hashlib
I have a problem to use the python hashlib, because I am comparing the hashs generated with the line below, with the hashs generated on the site : 'http://temp.crypo.com/sha512.htm', but when…
-
0
votes0
answers328
viewsfigure out a password hash method
I’m racking my brain trying to figure out which hash method one of my company’s applications is using, I don’t have access to the source code because it’s a compiled ASP, but it stores the password…
-
0
votes1
answer793
viewsHow to check whether the list is empty or with an element in C
typedef struct { int tamanho; nodo *inicio; } lista; typedef struct { lista **vet; int tamTabHash; int colisoes; } tabHash; tabHash…
-
0
votes1
answer201
viewserror with password_verify()
good afternoon I’m having a problem in using the password_verif() it is not checking correctly to log in, it is falling right into the else with msg "incorrect password". someone could help me?…
-
0
votes1
answer244
viewsbcrypt character limit in PHP
In the PHP documentation for the function password_hash has the notice: Care Using PASSWORD_BCRYPT as algorithm, will result in the parameter password truncated to a maximum length of 72 characters.…
-
0
votes1
answer250
viewsSort a Ruby Hash Array - no implicit Conversion of Symbol into Integer
My question is about sorting a hash within an array in Ruby. I’m learning to code in Ruby, my first contact with programming, I’m exercising by consuming an api. I managed to get to where I wanted,…
-
0
votes1
answer36
viewsNode JS + FACEBOOK WEBHOOK
Hello, I have a problem confirming the token SHA1 generated by facebook, I believe rawBody is wrong and is not passing the payload as it should, could take a look and see if they find the problem?…
-
0
votes0
answers39
viewsHashing a hash increases security?
Well a colleague of mine has been insisting on the idea of hashing a hash, I think they use in the company where he works The hash is in md5. I’ll explain as an employee: When registering a new user…
-
0
votes1
answer261
viewsRegistering password 123 with MYSQL encryption, but only login with the password generated by the encryption
I’m no expert on PHP, SQL or HTML, but I’m good at copying things and turning them into something fun. So recently I went to make a website, to spend time, and I wanted the passwords registered in…
-
0
votes0
answers13
viewsSmartcsv Key Mapping does not change Hash keys
I have a CSV file that I interpret through Smartcsv. However, I need the keys names of the generated hashes to be changed, for use I am using Smartcsv key_mapping but it is not changing the names. A…
-
-1
votes2
answers69
viewsError while using methods to generate hash and catch MAC address
According to my question, in the Gypsy’s response to hash of mac address network card just use two methods. But in the form of using them to retrieve the data and do the check I’m having an error: A…
-
-1
votes1
answer883
viewsHow to call a method with named parameters using a hash
I wonder if you have how to pass parameters to a parameter method named via hash. It has to pass the parameters that remain for another function as in the following example? params = {key:…
-
-1
votes1
answer1556
views -
-1
votes1
answer153
viewsHow to use password_hash in select
How do I login with the entire encrypted password ? I used password_hash and now for me to log in as I do ? if(isset($_POST['loggin'])) { $user = trim(strip_tags($_POST['user'])); $txtpassword =…
-
-1
votes1
answer656
viewsHash function in java
Could someone show me (and explain) a hash (scatter) function without being the? (key % size)? I would like it to be a simple one (and one that exists). In this case I have a table of 11 positions…
-
-1
votes1
answer26
viewsHash of some Cakephp2 field
I generated some scaffolding tables from Cakephp2, I have a model called account and created a Setter and getter: public function setPassword($password) { $this->password =…
-
-1
votes2
answers59
viewsConvert arrays to hash
I am giving some maintenance on a system in Perl (language that I am Noob) and I needed to create a new report module where I need to solve the following situation: I have 2 arrays with the…
-
-1
votes1
answer44
viewsHow to verify an encrypted php password?
Good morning.. I tried to hash using php password_hash and did not succeed, it even generates the hash, but the problem is time to check the hash. Can someone help me? Login and Create function…
hashasked 4 years, 1 month ago Greg Cruzeiro 1 -
-2
votes1
answer41
viewsHow to serialize a Hash object from Hashlib for Socket submission?
How is it possible to serialize an object of the type _hashlib.HASH , so that it is suitable for sending via sockets (sendall() and send()) ? With the pickle is made: hashed_Message =…
-
-2
votes1
answer53
viewsPassword Protection in PHP
I have a function implemented in my system that makes the password storage as follows: function codifica($usuario, $senha){ $codifica = crypt($senha,$usuario); $codifica = hash('sha512',$codifica);…
-
-4
votes2
answers177
viewsHow to send the password already with the hash to the database
How could I 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 =…