Questions tagged as 'sha-256'

0
answers

How exactly SHA-256 algorithm works [closed]

I did a search on the internet, but the results on the operation of the SHA-256 algorithm did not satisfy me, if anyone can help me I'll be grateful. Vlw.     
asked by 11.11.2015 / 12:11
1
answer

EFD-Reinf: Invalid signature - Failed to verify XML document signature (using C #)

Good afternoon, has anyone managed to sign the EFD-Reinf event using C #? I am sending the signed event and it is returning the following occurrence: { <?xml version=""1.0"" encoding=""utf-8""?> <dadosRegistroOcorrenciaEvento>...
asked by 22.12.2017 / 17:57
3
answers

Error when signing a Hash on SHA256 using Digital Certificate

Returning Invalid Algorithm Specified error, when will it be signed, how to proceed? Dim data = Encoding.UTF8.GetBytes(Me.txtCNPJEmpresa.Text + Me.txtCNPJSoftwareHouse.Text) Dim csp As RSACryptoServiceProvider = DirectCast(Certificado.Priva...
asked by 02.10.2015 / 21:23
2
answers

Possible SHA256 return 128bytes after signing?

I am using the following code to get my certificate and sign my CNPJs, however I am using the SHA256 algorithm, but it is returning 128bytes. Does anyone know what's wrong? Follow the Code: Dim data = Encoding.UTF8.GetBytes(Me.txtCNPJSoftwar...
asked by 06.11.2014 / 12:21
0
answers

Generating jwt manually using JAVA, but jwt.io does not validate

I'm trying to manually generate JWT in Java without using libs, but the returned JWT is not being validated by the link web application. public String authenticateUser(String body) { try { String key = "teste-de-chave-hahaha";...
asked by 15.10.2018 / 19:17
0
answers

Login with Sha256

Good afternoon everyone, I have a problem that has intrigued me for a few days now, my boss and stage supervisor proposed me to do an increased security in the site and for this I would have to use a Hash of words passes, after much research...
asked by 16.03.2015 / 17:38
4
answers

Encrypt password in Java with sha256 Hash

I need to compare the password that the user is putting in a login screen with the one that is saved in the database, I discovered that when the user is registered, the hash sha256 to encrypt the password, but I'm not able to find how to encr...
asked by 12.05.2017 / 22:19
0
answers

SHA256 standard eSocial Vs. Framework .NET 4.6

Good morning, I have an application developed in C #, installed on several clients. I've developed the code snippet below for signing on SHA256 and it works great with the latest .NET FRAMEWORKS: class Assinatura { public string Assi...
asked by 15.08.2018 / 16:12
1
answer

Doubt about Cryptography in passwords [duplicate]

I would like to know the difference between MD5 and SHA256 in passwords. If there is a more secure one and when and when it is better to use one or the other.     
asked by 29.03.2018 / 16:48