Questions tagged as 'hash'

1
answer

Using Hash, without adding a Salt chain to the password, can make the password vulnerable? [duplicate]

Shortly you needed to find out which hash had been used to save the passwords in the database so that they were not saved directly according to what the user launches at the time of their registration. Searching I found the following websit...
asked by 22.05.2017 / 22:35
2
answers

Give same value independent of the order

I needed to somehow generate a hash from a string but the same hash is obtained regardless of the order of the two strings 1234+4321 = asdfghjkl 4321+1234 = asdfghjkl Is this possible with PHP?     
asked by 02.07.2015 / 01:15
2
answers

Problem with decrypting hash in Base64

I was reading about an apache rule for validating permissions on files / directories , and I saw that the default file that reads the user and password was: usuário:senha (sendo a senha em base64). I tried to decode the password through th...
asked by 27.04.2014 / 19:11
1
answer

Problem with AVL tree vector

Good afternoon! I'm doing a hash table and for this I'm trying to create an AVL Tree vector. The problem is that when I try to insert a value into any tree of this vector it is giving the "NullPointerException" exception. Could someone tell m...
asked by 02.10.2017 / 20:46
1
answer

Hash and Cryptography Algorithms

I'm doing work on the difference between Hash and Encryption. For me it is easier to talk about Hash and to cite examples since I usually use SHA1 and MD5, but talking about encryption is difficult since I do not know any encryption algorithm...
asked by 20.06.2018 / 14:08
1
answer

Accessing variables dynamically in C language

I understand that it is possible to access variables dynamically in JavasScript, but doing this in C, I do not find anywhere. Follow the code in Javascript: var n1,n2,n3,n4,n5; n1 = n2 = n3 = n4 = n5 = 0; // define que todas essas variáveis...
asked by 09.01.2016 / 05:01
2
answers

Function to create hash in SRI pattern

I was looking at a new specification W3C SRI (Subresource Integrity) , which roughly means Sub-feature integrity that promises to bring more security to features hosted on third-party (or in-house) servers already in use by BootstrapCDN , C...
asked by 09.03.2017 / 02:12
1
answer

What is the problem with these hash algorithms?

I have searched for several hash algorithms, and found some example in SOen, but they are returning different hashes to the same file: import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream;...
asked by 02.02.2018 / 21:56
2
answers

Loop in constructor c #

I'm trying to set my Senha using md5 , but this is looping sett. public class Usuario { public int ID { get; set; } [Required] public string Nome { get; set; } [Required] public string Senha {...
asked by 14.06.2016 / 06:26
1
answer

Is it possible to use String and Hash Query at the same time?

I'm developing a single-page site using hash's html to scroll the page to the specified id, but I've also had to use a query string with php , but now whenever I try to use the two does not work. The page does not stay in the part t...
asked by 30.01.2014 / 20:07