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
0
votes
0 answers

How to use SHA-2 512 bit hashing in postgressql

I want to use SHA-2 hashing (512) in postgres is there any way we can do that currently I am using select encode(sha512('ABC'::bytea), 'hex'); but hash generated by this query is not matching with SHA-2 512 which i am generating through…
0
votes
1 answer

How to specify SHA2 in a mysql data file using phpmyadmin 5.2.0

When specifying a password in a data field in phpmyadmin for including in a table, the function dropdown allows SHA1 to be selected. There is no SHA2 functionality. I am using version 5.2.0 on XAMPP in my development environment. Is there a…
0
votes
1 answer

Format hash value to hex-string when using generics for different sha2-hash methods

I'm currently working with the 'sha2' library. One of the functions in my project is supposed to calculate the hash of a file using different methods (Sha224, Sha256, Sha384, Sha512). All of the hash methods use the trait sha2::Digest and all…
B1TC0R3
  • 131
  • 8
0
votes
1 answer

Plesk and GitHub auto deployment RSA keys error

As of March 15, 2022, Github has removed RSA keys. https://github.blog/2021-09-01-improving-git-protocol-security-github/ I was using auto deployment over plesk (windows) How can I use it with the SHA-2 keys method? I am using a dedicated server.…
0
votes
1 answer

Java | Maverick SSH | Failed to negotiate a transport Component | sha1 md5 | sha2-512 sha2-256

Key sent by customer working fine using SFTP command via Putty. It is working fine through Winscp. But when i try using Java Code then i get following: Caused by: com.maverick.ssh.SshException: Failed to negotiate a transport component …
fatherazrael
  • 5,511
  • 16
  • 71
  • 155
0
votes
0 answers

Is it possible to make a program that will find input messages that give each of the possible 512-bit strings from SHA-512?

Since there are more possible inputs than possible outputs (due to the pigeonhole principle), is there a way to create a program to create messages to get every possible output value?
0
votes
0 answers

SQL using method 'caching_sha2_password' error

Hi there are 10 computers. Put the program on everything and connected them to the database server. 9 connected ok, but the tenth does not connect and pings the error: Authentication to host 'xxx.xxx.xxx.xxx' for user 'xxx' using method…
0
votes
1 answer

Need some help related to sha512

i want to get first character of original string from hashe sha512. The format of my original string is it have 32 characters. first character in set of { 1, 2, 3, 4...9, T,J,Q,K } the second character in set of { D, S, H, C } the third character is…
daniel
  • 1
0
votes
0 answers

How to fix Authentication Plugin error for dBeaver

I am getting the following error while trying to connect to a database from dBeaver. This has to be a dBeaver issue as I am able to connect via the command line successfully. All help is appreciated.
0
votes
0 answers

Validating SHA2 in MySQL using prepared statements - Updated: Best way to store password in mysql for secure webapp with login system

I want to validate a SHA2 hash that I stored in my MySQL database (column named hash). CREATE TABLE users ( user_id INT PRIMARY KEY AUTO_INCREMENT, email VARCHAR(150) UNIQUE NOT NULL, role TINYINT NOT NULL, salt VARCHAR(255) NOT…
Alfie Danger
  • 377
  • 5
  • 23
0
votes
1 answer

Converting SHA-2 hash into alphanumeric hash (vb.net)

I have SHA-2 hash values. Here's an example: qlbQbEd8khe2vEYG9acKScUiVTC6y1UorkMvptATwwxkVApkOCUH7hwkncbi2TY78HrIeC19G8EHlaAmj6sBAwCxhF2TeOpmJ1+2OfbfXF+jMWUO74O7WHJuwoq+R5aKa0c2QYbyrcd/DWSprdkrF1gyz+RWVXYQug63aAhC0j0= I need to convert these into an…
0
votes
0 answers

How to hash a password with SHA2-512 in Java?

I have SHA2-512 password encryption set up on my application. While creating users, the password is created using the below method: DECLARE @salt UNIQUEIDENTIFIER=NEWID(); select HASHBYTES('SHA2_512','password'+CAST(@salt AS NVARCHAR(36))) I am now…
Reema
  • 587
  • 3
  • 12
  • 37
0
votes
1 answer

Does your ADFS Server have to be deployed with only a SHA1 certificate to work with SHA1 relaying party trusts?

Does your ADFS Server have to be deployed with a SHA1 certificate to work with SHA1-only relaying party trusts? Or can ADFS use a SHA2 certificte with a mix of SHA1 and SHA2 relaying party trusts as long as you change the particular trusts algorithm…
daeus
  • 3
  • 1
0
votes
1 answer

How can I encrypt spark sql data frame column using SHA-2 and a random salt

I am working in Scala programming language. I want to encrypt entire column of spark sql data frame using SHA-2 algorithm and a random salt what I have so far is this and it works well dataFrame.withColumn("ColumnName", sha2(bin(col("ColumnName")),…
user10360768
  • 225
  • 3
  • 14
0
votes
1 answer

MYSQL SHA2 512 with multiple transformations

I have to count SHA2 512 checksum, but there is also requirement of "number of transformations". I can't find any answer. Anyone can help me using MYSQL/MSSQL ? Is it possible at all using those languages? EDIT: number of transformations :…
jaczes
  • 1,366
  • 2
  • 8
  • 16
1 2 3
8 9