Questions tagged as 'hash'

1
answer

Write to file using hash function and cubes

I'm doing a function that reads a series of elements from a binary file and I have to pass them to another file that organizes them into cubes using the hash dispersion method. Here's the function: int creaHash(char *fichEntrada,char *fichHash...
asked by 23.05.2018 / 23:45
2
answers

Given the hash () of Python, does it exist similar in PHP?

I have a python script, which performs a login and pass, which is stored with hash in Mysql, with the following code: pass = hash(self.get_argument("psw", 'dato')) generating a hash type -5995266028892256335 Now I need to login from PH...
asked by 26.01.2018 / 13:54
1
answer

Key Hash Invalid

My application is already available in the playstore, but for some reason the login with facebook does not work for me, it mentions that the key hash is invalid, when I already generate the hash for the production mode keytool.exe -exportcert...
asked by 30.10.2018 / 19:44
1
answer

Browse element of a Hashtable in c #

Well it turns out that I have a program where you ask the user to enter a barcode, name and price of a product then I keep these inside a Hashtable and in another class I have a method called ValidData and in this receipt as parameter the Hashta...
asked by 22.10.2018 / 05:25
1
answer

Document hash with hashlib, TypeError: object supporting the buffer API required

I'm trying to make an application where I can indicate a file and its hashes (SHA1, SHA256, md5). The problem is that when it comes to removing the hash, I get the following error, referring to a missing API:    Traceback (most recent call...
asked by 02.07.2018 / 19:05
2
answers

warning: passing argument 1 of 'HashInsertar' from incompatible pointer type

I have this program that should implement a hasheo function. But throw the following warning that is above: warning: passing argument 1 of 'HashInsertar' from incompatible pointer type When you try to pass the number entered by the user t...
asked by 28.08.2018 / 23:25
3
answers

Store javascript result in a php variable

There is some way to make this code work: <script> function getBaseURL() { // obtenemos el hash var jash = window.location.hash; // lo imprimimos return jash; } </script> <?php $url1 = "<script>getBaseURL();</script&g...
asked by 14.11.2017 / 15:02
1
answer

Return hash string by number

I have built a hash program that when passing a string returns a coded number, now I would like a function that would do the opposite of the same formula that we did when coding that is to say that we pass a number and show its corresponding str...
asked by 10.05.2018 / 01:38
1
answer

Pass data from javascript to php using ajax when reloading the page

Good. I have the following code: <head> <script src="./jquery-latest.min.js"></script> <script> var jash = window.location.hash; var url = "datos.php"; $.ajax({ type: 'POST', url: url, data: {tuVariable:jas...
asked by 23.01.2018 / 02:53
0
answers

Problems with encryption

Look, I have two projects, one next to the other and one runs perfectly and the other does not. look at the codes: <?php $opciones = [ 'cost' => 11, 'salt' => "ÑsodEFHbzvuQlIwtvHgVsCsFbaUdjpwsHxwvHBcppgyveqUksQb3769520293...
asked by 23.11.2018 / 17:57