Questions tagged [sha-3]

SHA-3 is a family of cryptographic hash functions, a successor to SHA-2.

SHA-3 is a family of cryptographic hash functions, intended to replace and .

SHA-3 was chosen by NIST in a competition started in November 2007. The winner was declared to be the Keccak family in October 2012. The other finalists in the competition were BLAKE, Grøstl, JH and Skein .

As of October 2012, SHA-3 has not yet been formally codified. It is intended that the next version of FIPS PUB 180 will specify Keccak functions with digest sizes 224, 256, 384, 512.

79 questions
28
votes
2 answers

Calculating SHA 3 Hash in Java

I have been using CryptoJS (i.e. CryptoJS.algo.SHA3.creat()) library to SHA-3 hash on the front end. (see http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/sha3.js) I was wondering if there are any Java library equivalence? But so far I…
gye
  • 1,374
  • 3
  • 16
  • 27
19
votes
4 answers

PHP SHA3 functionality

Is there a framework or function that allows me to use SHA3-512? I don't want a extension like Strawbrary
Vetterjack
  • 2,227
  • 4
  • 19
  • 31
10
votes
3 answers

How to generate SHA3-256 in .NET Core?

Is there an option to calculate SHA3-256 hashes in .NET Core? The goal is to recreate the isChecksumAddress util function in web3.js
featherbits
  • 790
  • 6
  • 24
7
votes
1 answer

How can i get sha3-512 hash in C#?

exaple, string "test" in https://md5calc.com/hash/sha3-512/test gives me "9ece086e9bac491fac5c1d1046ca11d737b92a2b2ebd93f005d7b710110c0a678288166e7fbe796883a4f2e9b3ca9f484f521d0ce464345cc1aec96779149c14" but using HashLib; // from…
Apepenkov
  • 415
  • 1
  • 3
  • 10
6
votes
2 answers

QCryptographicHash - what is SHA3 here in reality?

I got such a piece of code: void SHAPresenter::hashData(QString data) { QCryptographicHash* newHash = new QCryptographicHash(QCryptographicHash::Sha3_224); newHash->addData(data.toUtf8()); QByteArray hashResultByteArray =…
pklimczu
  • 626
  • 1
  • 6
  • 15
6
votes
1 answer

Crypto JS SHA3 giving different output on same input

We are using Crypto JS SHA3 to hash our username and password together. The function takes the inputs from two html input fields for the username and password, concatenates them with the salt, and hashes them. The first hash works successfully,…
DrS
  • 342
  • 1
  • 3
  • 15
5
votes
4 answers

Generate SHA-3 hash in C++ using OpenSSL library

I've searched extensively for a code example that uses OpenSSL's recently implemented SHA-3 algorithm for hashing but couldn't find any. There are code examples on SHA-1 and SHA-3 but a quick search in the library folders reveal that there isn't…
timhuang77
  • 61
  • 1
  • 1
  • 2
5
votes
4 answers

Bouncy Castle Sha3 wrong output?

I'm working on a JAVA project that needs to perform a sha3-256 hash. Since Bouncy Castle implemented Sha3 in its latest update, I plan to use their implementation. Here is my code: public static String sha3(final String input) { String hash =…
user1830004
  • 51
  • 1
  • 3
4
votes
2 answers

Does the security of Skein as a hash imply the security of Threefish as a block cipher?

The Skein hash proposed for SHA-3 boasts some impressive speed results, which I suspect would be applicable for the Threefish block cipher at its heart - but, if Skein is approved for SHA-3, would this imply that Threefish is considered secure as…
bdonlan
  • 224,562
  • 31
  • 268
  • 324
4
votes
2 answers

sha3-256 of a cell text in Google Spreadsheet

I know you can do sha1 and others on google sheets but is there a way to do sha3-256 secret: test123 hash 3054762b0a8b31adfe79efb3bc7718624627cc99c7c8f39bfa591ce6854ac05d
user12100431
4
votes
1 answer

Using Google Cloud Key Management Service to sign an Ethereum transaction

I've been working on writing a signer service for an Ethereum transaction manager and I need to sign Ethereum transactions using Google KMS Golang APIs. I'll try and summarise the problems I'm facing below. Ethereum requires compact RLP encoded…
4
votes
3 answers

"java.security.NoSuchAlgorithmException: SHA3-384 MessageDigest not available" with Java 9

I tried to invoke hash(String plainText) function mentioned below - import java.security.MessageDigest; import java.lang.Exception; import java.util.Base64; public class MyHash { private MessageDigest messageDigest = null; private String…
Saketh Katari
  • 332
  • 2
  • 11
4
votes
3 answers

Sha-3 in python implementation

I am trying to implement sha-3 in python.The code given below is how I implemented it.But i am getting the below error again and again. import sys import hashlib arg1 = sys.argv[1] with open(arg1, 'r') as myfile: …
saki
  • 63
  • 1
  • 2
  • 5
4
votes
1 answer

How to hash a string with SHA-3/256 with Delphi XE8?

I'm trying to hash a string using the CRC/Hash library from Wolfgang Ehrardt and I'm trying to use the SHA3/256 algorithm. I wrote this procedure: procedure TForm1.Button1Click(Sender: TObject); var Context : THashContext; Digest:…
ZipGenius
  • 142
  • 9
4
votes
1 answer

Different hashes for Keccak / SHA-3 with several programs?

I am developing the keccak sponge function and have some strange behaviour about the hash result. I use the string "abc" with 24 bits (3 bytes). The test vectors for SHA-3 on http://www.di-mgt.com.au/sha_testvectors.html say that the result of…
Burak
  • 343
  • 1
  • 3
  • 12
1
2 3 4 5 6