Questions tagged as 'sha1'

1
answer

I get two different values when converting a String to SHA1

I have the following code with which I am trying to encrypt passwords with SHA1. I have used code adapted from two different sources but both bring different results. import java.io.UnsupportedEncodingException; import java.math.BigInteger; im...
asked by 13.09.2017 / 19:48
1
answer

How to fix: keytool error Keystore was tampered with, or password was incorrect

When trying to know the Sha-1 fingerprint of the keystore of my studio android project, for production, it is showing me this error, the alias and the passwords are correct: I'm doing it on the console from the location: C:\Program Fi...
asked by 06.04.2018 / 18:23
1
answer

decrypt a previously encrypted database element with mySQL

When I save a password element in my database, I save it with sha1 (...) and this is saved, for example, if I put hello , in the following way: fc1815288c56c87a05ef3cfd10738015bc5c1129 <?php $conexion=mysqli_connect('localhost','ro...
asked by 17.03.2018 / 19:30
2
answers

Problem generating the stamp for CFDi 3.3

Good afternoon, I am in the process of changing from cfdi 3.2 to 3.3. Once the original string was generated, reading in other posts I found a validator of it and it is correct, at the time of generating the stamp with SHA 256, it shows me an...
asked by 31.08.2017 / 20:18
0
answers

IONIC 3 Token sha1 "unexpected"

I am trying to create my own Hash key to log in with facebook from my application in IONIC for android, and when executing the following command line it throws me an error that I do not understand: keytool -exportcert -alias androiddebugkey -k...
asked by 06.02.2018 / 15:00
1
answer

Difference between HMAC and hash functions

I have not been very clear about the difference between HMAC and hash functions like SHA. I think the main difference is that HMAC uses a key and uses a hash function.     
asked by 19.07.2017 / 04:55