Most voted "sha-256" questions
14 questions
Sort by count of
-
6
votes0
answers906
viewsHow exactly the SHA-256 algorithm works
I did a search on the internet, but the results on how the algorithm works SHA-256 have not satisfied me, if anyone can help me I will be grateful. Vlw.
-
5
votes1
answer1720
viewsEFD-Reinf: Invalid signature - Failed to verify XML document signature (using C#)
Good afternoon, someone managed to hold the signing of the EFD-Reinf event using C#? I am sending the event signed and is returning the following occurrence: { <?xml version=""1.0""…
-
4
votes3
answers4420
viewsError when signing a SHA256 Hash using Digital Certificate
Is returning error from Invalid algorithm Specified, when it will be signed, how to proceed? Dim data = Encoding.UTF8.GetBytes(Me.txtCNPJEmpresa.Text + Me.txtCNPJSoftwareHouse.Text) Dim csp As…
-
2
votes2
answers756
viewsPossible SHA256 return 128bytes after signing?
I’m using the following code to get my certificate and sign my Cnpjs, but I’m using the SHA256 algorithm, but it’s returning 128bytes. Can anyone tell me what’s wrong? Follows the Code: Dim data =…
-
2
votes1
answer2045
viewsHow can I resolve error "The argument type 'String' can’t be Assigned to the Parameter type 'List<int>' " - Flutter
I’m trying to fetch an API Token using Flutter, but this code: var _random = Random.secure(); var random = List<int>.generate(32, (i) => _random.nextInt(256)); var verificador =…
-
1
votes0
answers154
viewsLogin with Sha256
Good afternoon to all, I have a problem that has been puzzling me for a few days now, my boss and trainee advisor proposed me to make an added security on the site and for that I would have to use a…
-
1
votes0
answers264
viewsSHA256 standard eSocial vs. Framework . Net subscription 4.6
Good morning, everyone, I have an application developed in C#, installed in several clients. I developed the code snippet below for SHA256 signature and works perfectly in the most modern . NET…
-
1
votes0
answers250
viewsGenerating jwt manually using JAVA, but jwt.io does not validate
I am trying to manually generate JWT in Java without using libs, but the returned JWT is not being validated by the web application https://jwt.io/. public String authenticateUser(String body) { try…
-
1
votes1
answer1044
viewsHow to generate, encode and encrypt random string in Flutter
I need to generate a 32byte code and encode for Base64, then Sha256 and Base64 again But apparently this code has something wrong and I can’t understand what it is var _random = Random.secure(); var…
-
1
votes1
answer171
viewsPython Hashlib Function: Typeerror: update() takes in keyword Arguments
I am working on a script where in one of the steps I will have to use the function hashlib to convert one string list to another via SHA256. However, I’m having some problems that I haven’t been…
-
0
votes4
answers6374
viewsEncrypt Java password with Hash sha256
i need to compare the password that the user is placing on a login screen with the one saved in the database, I found that when the user is registered is used to hash sha256 to encrypt the password,…
-
0
votes1
answer40
viewsDoubt about Encryption in passwords
I would like to know the difference between MD5 and SHA256 in passwords. If there is one that is safer and which and when it is better to use one or the other.
-
0
votes1
answer372
viewsSHA256 hash generation of compressed.zip files
I would like to generate a hash with SHA256 of a set of files. For this I compressed all in format .zip and I am using the following code(Python): from hashlib import sha256 myFile =…
-
0
votes1
answer327
viewsSelect HASH Code SHA256 Nodejs
How do I select the code for HASH in Nodejs? I have a system made in another language with passwords encrypted with SHA256 The encryption function there is so: #define HASH_CODE =…