Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about sha512

Read more about sha512

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - sha512

Sign SHA512-HMAC with private key in java

I want to build a function that sign a SHA512 HMAC with a Private key with a password to open that file. I have done that with Javascript but I'm not able to do it in JAVA. here is my code in Javascri...
test-img

AQattorah

javascript

java

signature

hmac

sha512

Votes: 0

Answers: 1

Latest Answer

I found a way to solve this thanks @pra-a for answering a question posted earlier Link here. I will share my solution below. import javax.crypto.Mac; import javax.crypto.spec.SecretKeySpec; import jav...
test-img

AQattorah

sha512 implementation c++ (made for learning purposes) doesn't generate temp1 value but gives a wierdly similar answer

if you look at the temp1 value in iteration 0. You will see that I'm getting 0xb37b0cfa1b96e8a0 while I should be getting 0x1b37b0cfa1b96e8a0. why is the 0x1 not appearing in mine? Is this a datatype-...
test-img

kibarekmek

c++

loops

cryptography

sha512

hexdump

Votes: 0

Answers: 1

Latest Answer

Your code has two bugs that I've found. The first is in the initial value of G. You provided 0x1f83d9abfb42bd6b, but 0x1f83d9abfb41bd6b is correct (that is 41, not 42). Because SHA-512, like all cr...
test-img

bk2204

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved