Most voted "sha1" questions
SHA (Secure Hash Algorithm) is a family of scrambling algorithms (i.e., cryptographic "hashes"), i.e., checksum functions that are difficult to falsify. The recommended algorithm these days are SHA-1 and SHA-2 (which covers both SHA-256 and SHA-512). MD5 is an obsolete alternative.
Learn more…18 questions
Sort by count of
-
19
votes7
answers22208
viewsIs using MD5 the safest way to encrypt passwords in PHP?
I know there are several methods of encrypting passwords in PHP (md5, sha1, Base64...) although I don’t know much about, what I see most is the use of MD5. Using MD5 to encrypt passwords is the…
-
13
votes2
answers16707
viewsHow do the SHA family hash algorithms work?
I would like to understand how the hash algorithms of the SHA family work (Secure Hash Algorithm), such as the SHA-1, SHA-2, SHA-3, and understand the differences between them. I seek didactic…
-
8
votes1
answer618
viewsWhy does the reduced version of git SHA1 code have 7 characters by default?
I’m studying Git and came across the command cherry-pick, who recovers a commit specific. The parameter passed for this command is the code hash generated to identify only that commit. However, in…
-
3
votes1
answer3916
views -
3
votes1
answer65
viewsSha1cryptoserviceprovider and Sha1managed return different results
I need to encrypt a string using SHA1. I was able to encrypt using the SHA1 class in this way: public string CriptSha1(string secret) { string result = ""; byte[] key =…
-
3
votes1
answer4528
viewshow to decrypt md5 and sha1?
good would like to know how to decrypt the md5 and the sha 1 I am using both to enter the password of the user in the bank, however I have to make a page for those who forgot the password and if I…
-
2
votes3
answers2384
viewsRejection Nfse SP XML data signature Differs from Calculated SHA1 VB.net
I am signing the following string: 339575410000100000000000120150413NI0000000000000500000000002502917N207293716000260 Using the following code: ' Obtem o certificado Dim CertificadoDig As…
-
2
votes1
answer1526
viewsHow to validate a signature with a private key?
I receive an HTTP request that comes in the HEADER a signature (SHA1). I own, stored in a String, a private key. I need to generate the signature between the BODY of the HTTP request and my key and…
-
2
votes1
answer84
viewserror comparing sha1 in php
I am making a login system but when comparing the password that the user typed with the one in the error database. When the user registers on the system applies two sha1 guy :…
-
1
votes2
answers81
viewsIs it possible to use $_POST within sha1? or other encryption?
I am comparing forms using sha1 as follows sha1($_POST['txtEmpresa'] + $_POST['txtFornecedor'] + $_POST['txtDocumento'] + $_POST['txtValor'] + $_POST['txtVencimento']); Is there any way to reduce…
-
1
votes1
answer1587
viewssha1 encryption with python
I need to generate a sha1 encryption of a string value from a JSON file, but I’m not getting it. Does anyone know where I’m going wrong with my code? The code opens the json file, takes the String…
-
1
votes1
answer166
viewsCan I use a combination of different algorithms to generate a password hash?
I’m having a question here, I ran some tests on the local server, and I was wondering if anyone has done anything like this, and if the database supports that many characters. The idea of merging…
-
1
votes1
answer59
viewsMap only click on my device
I have a map in a fragment. I already solved all as key questions, created the signed apk, is not what I want to do and I did not put any console google developer, with the name of the project. A…
-
0
votes3
answers968
viewsHow to use SHA1 in login with PHP picking up parameters?
I created a registration using as password encryption the SHA1, where the password parameter step as: $senha = sha1($_GET['senha']); However, I’m not sure how to decrypt, still passing parameter,…
-
0
votes3
answers831
viewsSHA-1 with Typescript
I’m doing a project and I need to encrypt a password, I wanted to use the SHA-1, only I couldn’t find anywhere to use with Typescript, the TS supports the SHA-1?
-
0
votes1
answer775
viewsHow to correctly invoke and use js-hs1?
I need to encrypt a phrase with SHA1, but as I get nothing back I believe I’m not doing it right! Someone knows how to do it right? I have the following excerpt from a script, where I have a…
-
-1
votes1
answer266
viewsHow to generate the SHA-1 hash
I am configuring my project to implement login with Google, however I am having some difficulties it asks for the SHA-1 key, and I do not know which commands should use to generate the key. Google…
-
-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 =…