Questions tagged [sha2]

sha-2 refers to the family of secure hash functions consisting of SHA-224, SHA-256, SHA-384, and SHA-512. These are defined by the US NIST in FIPS 180-4.

sha-2 refers to the family of secure hash functions consisting of SHA-224, SHA-256, SHA-384, and SHA-512. These are defined by the US NIST in FIPS 180-4.

135 questions
1
vote
1 answer

How do I properly sign a SOAP message with SHA2 in C#?

I have the following requirements from a 3rd party service that I'm using Transactions dealing with personal information and other sensitive data use transport layer security protection. The web service message will be transported over https (HTTP…
scottDeveloper
  • 159
  • 2
  • 17
1
vote
1 answer

Connection with MQClient 7.5.0 and SHA2

I have a "blackbox" application written in Java that connects to MQ. On unix server there is MQ Client installation version 7.5.0. Java application is using 1.7.0_79. I have to use SSL_RSA_WITH_AES_256_CBC_SHA256 to make the connection. I cannot…
drstonecodez
  • 317
  • 1
  • 2
  • 12
1
vote
0 answers

MYSQL: How to Select all columns and hash them with SHA2

I want to write a SELECT query in MYSQL that will return all the columns hashed. I'm using SHA2 for the hashing. It works when I give, in parameter, all the names of the columns but I don't know the exact names of every column so I'm trying to make…
Lee Wyi
  • 105
  • 7
1
vote
1 answer

SHA512/t IV Generation function pseudo-code

FIPS 180-4 Section 5.3.6, Page 16 Denote H(0)' to be the initial hash value of SHA-512 as specified in Section 5.3.5 above. Denote H(0)'' to be the initial hash value computed below. H(0) is the IV for SHA-512/t. For i= 0 to 7{ Hi(0)'' =…
b3nj4m1n
  • 502
  • 7
  • 24
1
vote
2 answers

Is possible to configure OpenLDAP Crypt passwords without using a salt?

From the docs I got this config that works but use a salt, password-hash {CRYPT} password-crypt-salt-format "$6$%.16s" and I need to store passwords in the LDAP directory that have been generated without salt encryption.
1
vote
1 answer

How to fix HY000/2054 when implementing MySQL with Abyss Web Server?

I'm starting up a web server using Abyss X1, and just tried implementing a MySQL server through PHP with the following two scripts: connect_db.php : #Connect on 'localhost' for user 'admin' #with password 'RoboticCowboy2019' to database…
1
vote
1 answer

Lua SHA256 Library

I'm new to Lua Scripting. Trying to use SHA256 hashing mechanism in my Lua script. DOES Lua 5.3.5 version has SHA256 as inbuilt library like string, math, etc.. OR Do we need to install using luarocks install sha2? I have tried luarocks install sha2…
erdarun
  • 441
  • 1
  • 8
  • 14
1
vote
1 answer

Installing older version of MySQL brew error

I'm a little frustrated at this point, so I had to come for aid to stackoverflow lol I've been stuck trying to setup the dev environment for 3h... This is what's happening, the new version of mysql doesn't support compatible client-side…
Arturo
  • 3,254
  • 2
  • 22
  • 61
1
vote
4 answers

how to verify data integrity using SHA2?

package abc.xyz; import java.io.UnsupportedEncodingException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class SHA2{ private static String convertToHex(byte[] data) { StringBuffer buf…
garima
  • 5,154
  • 11
  • 46
  • 77
1
vote
1 answer

Is there an SHA224 implementation for .Net?

Does .Net have a built-in implementation of SHA224 available for use or a way to get one of the existing .Net SHA implementations to do 224? I found this blog post which seems to suggest there isn't and won't be a Microsoft implementation of SHA224…
RobV
  • 28,022
  • 11
  • 77
  • 119
1
vote
1 answer

Seeking information on hardware SHA-2 acceleration

This year AMD has released a new series of x86-64 CPUs named RyZen for desktop. RyZen's specification shows it provides new SSE based SHA1 and SHA-256 instructions wiki: Intel SHA extension: sha1 instructions: SHA1RNDS4, SHA1NEXTE, SHA1MSG1,…
falero80s
  • 368
  • 6
  • 12
1
vote
2 answers

session ID generation using [SHA1PRNG] is not secure?

When i start a tomcat server, I see the log:"Creation of SecureRandom instance for session ID generation using [SHA1PRNG]" Here is the question! As i know, SHA1 is not secure. if so, session ID generation using [SHA1PRNG] is a problem? if it will…
1
vote
1 answer

SHA2 And TLS1 / SSL3

I have a web service that is currently being used by a variety of old .Net and Java clients using TLS1.0/SSl3 protocols using a SHA1 certificate. If I were to change the certificate to be SHA2 would these clients still work ? I am changing no other…
ady
  • 23
  • 2
1
vote
0 answers

Why is there a '1' in the padding of SHA-2

I'm looking at the SHA-256 algorithm. The padding consists of a single '1', followed by as many 0's as needed to made the size of the block congruent to 448 mod(512), and then the size of the message (excluding the 1 and the padding) as a 64 bit…
Rafa
  • 1,151
  • 9
  • 17
1
vote
1 answer

SQL update HashBytes SHA2_512 passwords to HashBytes SHA2_512 SALT

I am currently updating a web site to authenticate from a HashBytes SHA2_512 SALT combination password. My problem is that once I do this all my current users will no longer be able to login with their existing HashBytes SHA2_512 password. Is there…
raymantle
  • 121
  • 1
  • 14
1 2 3
8 9