Questions tagged as 'hash'

1
answer

Problem with reading files in python

What is the difference between making python open and reading a file, passing the reading result between blades? When I open a file that contains only the word test and I pass this result from the read by a hash algorithm the result is:...
asked by 09.09.2017 / 02:54
1
answer

Login with Play! framework

I'm trying to create a system login but I have the following problem: public Result salvaNovoUsuario() { Form<Usuario> formulario = formularios.form(Usuario.class).bindFromRequest(); if (validadorDeUsuario.temErros(formul...
asked by 27.06.2017 / 20:23
1
answer

Grouping hashes by value in Ruby and manipulating them

I have this array with hashes that I simplified to get smaller. My goal is to join with marca of carros to make a small report showing how much marca is profiting based on compras . Notice that "tag1" repeats 2 times a...
asked by 20.01.2016 / 19:08
1
answer

Bundle / Cache of CSS files in PHP

I'm developing a mechanism in PHP that performs a cache of CSS files in order to decrease the number of requests of a page and the loading time. The engine evaluates in a first entry whether there is any cache file on the...
asked by 10.08.2015 / 13:44
1
answer

HASH is not working correctly

Regardless of whether the password is correct or not, the message is always returned saying that the password is invalid. make_login.php <? include "connection.php"; require "blowfish.php"; $login = $_POST['login_entrar']; $senha = $_PO...
asked by 12.05.2015 / 20:06
1
answer

How to transform source code into digital hash summary?

To register a software, you are prompted: Perform the transformation of technical documentation (source code) into digital hash summary; INPI documentation still reports: [...] The hash summary is a fixed-length text containing letters an...
asked by 26.04.2018 / 20:23
0
answers

password_verify () PHP 5.5.12 Not working

I'm having problems with password_verify (). A few days ago, the same password and hash worked perfectly. Today, password_verify returns false, but I know the password is correct. $senhaC = '$2y$10$15rGMwy5CEHaLrNzEEwaZ.G2.VbhumhXtcORad0cC7W6S...
asked by 15.01.2018 / 19:49
0
answers

What is and what is done with each of these SHA-1, SHA-256, HASH, MD5 day-to-day? [duplicate]

What is and what is done with each of these SHA-1, SHA-256, HASH, MD5 day-to-day?     
asked by 08.12.2017 / 18:43
0
answers

Get the bytes of the file and generate a hash

I am reading a txt file as follows, how would I do to save the bytes of the file and generate a sha-256 hash the class that generates I already own the code, as I do to save in an array of bytes or other suggestions. I'm sorry I'm a beginner in...
asked by 19.11.2017 / 05:51
0
answers

How to write and read a table hash in / from a file (FILE) in C?

I'm using fread and fwrite but a runtime error occurs. #include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct pessoa{ char nome[20]; char cpf[10]; struct pessoa* next; }Pessoa; typedef struct lis...
asked by 18.01.2017 / 01:14