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](http://csrc.nist.gov/) in FIPS 180-4.

-1
votes
0answers
28 views

Updating SHA1 to SHA2 in PHP [duplicate]

I have this code that I have been using for passwords that I want to update to SHA2 (256). The createUser function is like this: public function createUser( $username, $password ) { $...
0
votes
0answers
7 views

Digest authentication with SHA2

Is there an implementation of DigestClient out in the wild that supports the SHA2 family of hash algorithms? The current implementation of DigestClient will fail when the algorithm challenge is ...
0
votes
1answer
60 views

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 ...
1
vote
1answer
48 views

dovecot password hashing with mysql 8 SHA2

Previously (MySQL 5.7) we was using this command to add a new email address into an existing table: INSERT INTO `servermail`.`virtual_users` (`id`, `domain_id`, `password` , `email`) VALUES ('1', '1',...
1
vote
1answer
170 views

How to convert a hex decimal column in scala to int

I tried to use conv function as I saw in some examples, but is not working for me. I don't understand why this function returns the same value in the column of my DF. I was using spark2.1 with scala 2....
0
votes
0answers
63 views

MySQL on Virtual Server error Sha2 authentication

I created a separate Virtual Machine with Windows Server 2012 R2 installed and configured. I also installed MySQL package, together with .NET Framework and C++ Redistributable 2012, which MySQL ...
0
votes
0answers
54 views

Is it possible for use SHA2 with Symbian 9,2?

Is there any solution to enable Nokia N95 8GB phone (Symbian 9.2) works with SHA2 encryption? I tried to install networking_improvements.SIS, but after installation is about 50% completed, it gives ...
1
vote
1answer
2k views

get SHA256 hash of public key

I have a certificate mycert.pem . I got the public key of the certificate by command: openssl x509 -pubkey -noout -in mycert.pem > pubkey.pem How can I get the SHA256 hash of the public key?
0
votes
0answers
34 views

How to get NSIS installer check for SHA2 compatibility before install on older windows machines?

This is kind of a niche case involving legacy systems. We're using NSIS 3.03 to install our software. We have a SHA2 signed driver, but are aware some people are installing in older versions of ...
0
votes
0answers
125 views

How to generate/verify xml signatures in c# using ecdsa+sha2

What are my options for generating/verifying a XML signature in C# using ECDSA+SHA2? I've tried the SignedXML class and apparently the ECDSA algorithm is not supported (I get a "'SignatureDescription ...
0
votes
1answer
113 views

Logic for Generating Signature - for SHA-2 Hashing (Java)

I'm using a specification document for accessing API, and it says that hash is calculated on the signature generated from the following logic: Signature = (field1 + field2 + field3 + field4 + field5 +...
0
votes
0answers
89 views

Does netsnmp 5.7.* support SHA2?

Does netsnmp 5.7.* support SHA2 ? Can we use openSSL library and make use of strong algorithms in netSNMP?
0
votes
1answer
76 views

ASP.NET cryptography SHA-1 to SHA-2

Currently, I have source code that is calling external web services that is using SHA-1 cryptography and i'm currently calling these external WS by the following using System.Security.Cryptography....
-3
votes
2answers
148 views

is there an implementation of the SHA-224 algorithm for c# in .Net? [closed]

as the title says, is there an implementation of the SHA-224 algorithm for c# in .Net? I can't seem to find any reference through it. thanks a lot in advance
0
votes
3answers
661 views

Hashing a string to a specific length

I have been tasked with getting a string to encrypted to a certain length. Ideally....the function should take as parameters... String to be encrypted of variable size the length of the resulting ...
0
votes
1answer
233 views

Calculating SHA256 twice - what for?

I'm trying to understand Bitcoin protocol, and sometimes see instructions like this: The TransactionId is defined by SHA256(SHA256(txbytes)) or The hash of the public key is generated by ...
0
votes
1answer
356 views

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 ...
0
votes
1answer
344 views

Connect to MySQL using SHA2

I have access to 2 MySQL Servers (one for production and one for development). I have the host, port, database, user, password and the CA Cert file for them. I could connect to both using mysql ...
0
votes
0answers
330 views

ESP8266 Sha2 256 Bit enryption Arduino

I want to connect my ESP8266 to a server that is encrypted with Sha2 256 Bits. The ESP8266 is programmed using the Arduino Library. Does the WiFiClientSecure support this encryption? How do I encrypt ...
0
votes
1answer
58 views

bundle update broke Digest library. Trouble upgrading to OpenSSL

We did a bundle update recently that went wrong. As we understood, the support for 'digest/hmac' dropped, so I wanted to use OpenSSL instead: OLD [WORKING] CODE: def signature(str) key = ...
0
votes
2answers
294 views

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 ...
0
votes
2answers
910 views

How to use PBEWITHHMACSHA256ANDAES_256 algorithm from JCE

I'd like to use the PBEWITHHMACSHA256ANDAES_256 algorithm from the SunJCE provider in Java8. It looks like the jars and all of the config is in place out-of-the-box in Java8 but I'm not able to use ...
2
votes
1answer
892 views

PBEWITHHMACSHA256ANDAES_256 encryption throws EncryptionOperationNotPossibleException

I'd like to use the PBEWITHHMACSHA256ANDAES_256 algorithm but it's not supported. I've added the bouncy castle provider to my test in the hopes that it will work but to no avail. Can anyone please ...
1
vote
1answer
140 views

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 ...
0
votes
0answers
216 views

New SHA-2 Certificate Key on Domino 9.0.1 not loading

My old Live system (Domino 8.5.3 / Windows 2003) is out on the DMZ and needs to be upgraded to a SHA-2 certificate. So, we have built a new Test server also out in the DMZ (Domino 9.0.1 FP6 / Windows ...
0
votes
0answers
222 views

changing a function to use SHA256 hashing rather than SHA1 hashing

Can someone kindly help me with the following question I have the following function which works fine function Decrypt-String($Encrypted, $Passphrase, $salt, $init) { if($Encrypted -is [string])...
0
votes
4answers
133 views

Password Migration - Drupal SHA2 to PHP MD5 Version

As everyone know that Drupal store password using SHA2 method which involves Encryption + Hashing + Salt on it. I have a list of passwords which are currently used by some of my clients in Drupal. ...
0
votes
1answer
43 views

Updgrading MQ to SHA2 support

I have a current requirement for upgrading MQ to support SHA2 . Currently we are using MQ6 , will upgrade to MQ7 to enable SHA2 support.We are using Weblogic8 for our current MQ6. Why do we have to ...
1
vote
0answers
154 views

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 (...
0
votes
1answer
61 views

What SHA2 hash function does Realm dot net use

On the Realm Xamarin page it says Realm supports encrypting the database file on disk with AES-256+SHA2 by supplying a 64-byte encryption key when creating a Realm. Which SHA2 hashing function does ...
1
vote
1answer
435 views

SQL update HashBytes SHA2_512 passwords to HashBytes SHA2_512 SALT [duplicate]

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 ...
0
votes
1answer
65 views

How to install or use a certificate without a request

We receive a SHA-2 certificate from a vendor to use on our site when making requests to them. This is unlike anything i have done before. Typically in IIS we would create the request, receive the ...
0
votes
1answer
995 views

SHA2 server SFTP fingerprints using Renci.SshNet

I'm using Renci.SSHNet to establish a connection to SFTP servers. I've done so without any problems but I've recently ran into a server to which I can´t establish a connection through my code. I keep ...
0
votes
1answer
377 views

Using SignTool.exe to sign using SHA256 after Microsoft dropped support for SHA-1

Since MS dropped SHA-1 support we now need to sign with SHA-2. I sign all dlls, exe and msi. I changed my signtool.exe call to this: signtool.exe /f "PathToPFX.pfx" /fd SHA256 /p "password" /d "...
1
vote
0answers
538 views

Is there an open source alternative to signtool from Microsoft to sign exes with sha2?

We need to sign Windows software with sha2 algorithm but installing signtool seems to be a problem, since I am having difficulties to install the software on my machines. Moreover, I would like to ...
-1
votes
1answer
193 views

what can be used to find the sha2 checksum of a file in windows

What is the best method for getting a SHA2 checksum in windows? I'm looking for something equivalent to md5sums-1.2 utility referenced for putty downloads, with more options than just md5. Edit - ...
-1
votes
2answers
118 views

Domino outbound as client

Having some trouble with Domino server as client to a Web Service Hope someone can answer a pretty easy question, but the easy question dont have a answer some I can find. There is lots of Root ...
0
votes
1answer
95 views

Heroku and Twilio New SHA2-signed certificate

About a week ago I got the email below from Twilio letting me know about security updates and the possibility of compatibility issues on applications using older SSL client libraries. My app is ...
0
votes
1answer
273 views

What version of wget supports SHA2

I could not find any detailed information, about what is the minimum wget version to access/verify SHA2 certificates. I found a very similar question at What version of curl supports SHA2 - where the ...
1
vote
0answers
23 views

Twitter OAuth integration without HTTPS on my side

Do I need HTTPS on my server with some SHA-2 certificate for Twitter OAuth integration? Or may I simply send HTTPS requests to the Twitter API after receiving OAuth access token?
0
votes
1answer
148 views

Moving to SHA-2

I have a website with about 60,000 paying customers 3000 of them use windows XP + IE 8. I want to have a certificate that would serve all of my clients (or multi-certificate solution). the issue is ...
0
votes
0answers
98 views

Getting 404 error using cURL in PHP trying to copy SHA2 cert

I have an app that was working fine until the vendor changed certificates - to SHA2 certificate. My PHP app uses cURL to copy the certificate to my server. Now I get a 404 error. Is this expected ...
0
votes
1answer
304 views

Decrypting message hashed with SHA256

I was given a 16 byte key(used to encrypt message in RC4). First 8 bytes are unknown for me. I know that key was created by hashing a message using SHA256(secret) and getting first 16 characters from ...
1
vote
2answers
758 views

What is the difference between “SHA-2” and “SHA-256”

I'm a bit confused on the difference between SHA-2 and SHA-256 and often hear them used interchangeably. I think SHA-2 a "family" of hash algorithms and SHA-256 a specific algorithm in that family. ...
2
votes
1answer
2k views

Server returned error - The data necessary to complete this operation is not yet available for VB script

Why can't the code below connect successfully to servers that require SHA2 certs? One of our partners had a SHA2 upgrade and they require us to have SHA2 certs. When we connect to their site that ...
1
vote
1answer
41 views

Is it possible to generate a subca or sign any csr with SHA-2 when the issuer is using SHA-1

I have a rootca using SHA-1 algorithm. Is it possible to generate a subca or sign any csr with SHA-2. Migrating from SHA-1 to SHA-2 is not an option. I want to have cerificate with SHA-2 with its ...
1
vote
1answer
250 views

Which SHA-2 function will Facebook use?

I read that Facebook on the 1st Oct 2015 will move from SHA-1 to SHA-2 and we have to update our applications: https://developers.facebook.com/blog/post/2015/06/02/SHA-2-Updates-Needed/ Do you know ...
0
votes
2answers
163 views

Cordova app stops working after replacing SHA-1 cert with SHA-2 cert on server side

after replacing SHA-1 cert with a new SHA-2 cert (server side), our cordova android app (ios still working) does not work anymore. Meaning that the https requests fail somehow (on all devices ...
0
votes
1answer
253 views

Generate CSR with SHA2 using DigiCert tool

I'm trying to generate CSR for an Azure Cloud Service, but I need it to have a SHA2 signature algorithm. So far I used DigiCert for windows to create these CSRs, but they only provide SHA1 algorithm. ...
1
vote
2answers
601 views

How to extract salt from sha512 digest?

I encoded(sha512 hash)the password string "hello" using the salt string "world" and saved the string in a file. hex: ...